Path parameters
-
The unique identifier of the role.
GET
/api/roles/{id}
curl \
-X GET https://[tenant_id].logto.app/api/roles/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"tenantId": "string",
"id": "string",
"name": "string",
"description": "string",
"type": "User",
"isDefault": true
}