Skip to main content
PUT
http://localhost:3000
/
scope-overrides
/
permissions
/
{id}
curl -X PUT 'https://api.example.com/scope-overrides/permissions/override_456' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "state": "enabled"
  }'
{
  "id": "override_456",
  "childScopeId": "scope_team",
  "permissionId": "perm_delete",
  "state": "enabled"
}

Path Parameters

id
string
required
The override ID to update

Request Body

state
string
required
New override state: enabled or disabled

Response

Returns the updated permission override object.
curl -X PUT 'https://api.example.com/scope-overrides/permissions/override_456' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "state": "enabled"
  }'
{
  "id": "override_456",
  "childScopeId": "scope_team",
  "permissionId": "perm_delete",
  "state": "enabled"
}