Get roles for a user in an organization
Get roles assigned to a user in the specified organization with pagination.
Path parameters
-
The unique identifier of the organization.
-
The unique identifier of the user.
GET
/api/organizations/{id}/users/{userId}/roles
curl \
-X GET https://[tenant_id].logto.app/api/organizations/{id}/users/{userId}/roles \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
{
"tenantId": "string",
"id": "string",
"name": "string",
"description": "string",
"type": "User"
}
]