curl -X GET 'https://api.example.com/roles/role_123' \
-H 'Authorization: Bearer YOUR_TOKEN'
{
"id": "role_123",
"name": "Admin",
"description": "Full administrative access",
"scopeId": "scope_456"
}
Retrieve a role by its unique identifier
curl -X GET 'https://api.example.com/roles/role_123' \
-H 'Authorization: Bearer YOUR_TOKEN'
{
"id": "role_123",
"name": "Admin",
"description": "Full administrative access",
"scopeId": "scope_456"
}
curl -X GET 'https://api.example.com/roles/role_123' \
-H 'Authorization: Bearer YOUR_TOKEN'
{
"id": "role_123",
"name": "Admin",
"description": "Full administrative access",
"scopeId": "scope_456"
}
Was this page helpful?