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