Get role scopes
GET
/api/roles/{id}/scopes
Get API resource scopes (permissions) linked with a role.
Path parameters
-
id string Required
The unique identifier of the role.
GET /api/roles/{id}/scopes
curl \
-X GET https://[tenant_id].logto.app/api/roles/{id}/scopes
Response examples (200)
[
{
"id": "string",
"resourceId": "string",
"name": "string",
"description": "string",
"createdAt": 42.0,
"resource": {
"id": "string",
"name": "string",
"indicator": "string",
"isDefault": true,
"accessTokenTtl": 42.0
}
}
]