Organizations
Get roles for a user in an organization
Get roles assigned to a user in the specified organization with pagination.
get/api/organizations/{id}/users/{userId}/roles
Request
- Base URL: https://[tenant_id].logto.app
- URL: https://[tenant_id].logto.app/api/organizations/{id}/users/{userId}/roles
- Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)
Path parameters
idstring required
The unique identifier of the organization.
userIdstring required
The unique identifier of the user.
Query parameters
pageinteger
Page number (starts from 1).
page_sizeinteger
Entries per page.
Response
A list of roles assigned to the user.
Changes
No recorded changes to this operation across all 8 revisions of this API.