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

Path Parameters

id
string
required
The unique identifier of the permission to delete

Response

Returns a success confirmation.
Deleting a permission will also remove all role-permission mappings associated with it.
curl -X DELETE 'https://api.example.com/permissions/perm_123' \
  -H 'Authorization: Bearer YOUR_TOKEN'
{
  "success": true
}