Skip to main content
GET
http://localhost:3000
/
permissions
/
{id}
curl -X GET 'https://api.example.com/permissions/perm_123' \
  -H 'Authorization: Bearer YOUR_TOKEN'
{
  "id": "perm_123",
  "name": "read:documents",
  "description": "Can read documents",
  "scopeId": "scope_456"
}

Path Parameters

id
string
required
The unique identifier of the permission

Response

id
string
Unique identifier for the permission
name
string
Display name of the permission
description
string
Description of the permission
scopeId
string
The scope this permission belongs to
curl -X GET 'https://api.example.com/permissions/perm_123' \
  -H 'Authorization: Bearer YOUR_TOKEN'
{
  "id": "perm_123",
  "name": "read:documents",
  "description": "Can read documents",
  "scopeId": "scope_456"
}