Skip to main content
GET
http://localhost:3000
/
roles
/
{id}
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"
}

Path Parameters

id
string
required
The unique identifier of the role

Response

id
string
Unique identifier for the role
name
string
Display name of the role
description
string
Description of the role
scopeId
string
The scope this role belongs to
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"
}