Skip to main content
DELETE
http://localhost:3000
/
scopes
/
{id}
curl -X DELETE 'https://api.example.com/scopes/scope_123' \
  -H 'Authorization: Bearer YOUR_TOKEN'
{
  "success": true
}

Path Parameters

id
string
required
The unique identifier of the scope to delete

Response

Returns a success confirmation.
Deleting a scope will also remove all associated memberships, roles, permissions, and hierarchy relationships.
curl -X DELETE 'https://api.example.com/scopes/scope_123' \
  -H 'Authorization: Bearer YOUR_TOKEN'
{
  "success": true
}