curl --request GET \
--url https://{tenantDomain}/api/v2/users/{id}/effective-permissions/sources/effective-roles \
--header 'Authorization: Bearer <token>'{
"roles": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"sources": [
"direct"
]
}
],
"next": "<string>"
}Lists the roles which grant the user a given permission, including roles assigned directly to the user and those inherited through group memberships.
curl --request GET \
--url https://{tenantDomain}/api/v2/users/{id}/effective-permissions/sources/effective-roles \
--header 'Authorization: Bearer <token>'{
"roles": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"sources": [
"direct"
]
}
],
"next": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://auth0.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the user to retrieve the permissions for.
Optional Id from which to start selection.
Number of results per page. Defaults to 50.
x >= 1The identifier of the resource server for which to calculate user permissions.
1 - 600Name of this permission
1 - 280このページは役に立ちましたか?