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

Path Parameters

roleId
string
required
The role ID
permissionId
string
required
The permission ID to remove from the role

Response

Returns a success confirmation.
curl -X DELETE 'https://api.example.com/role-permissions/role_123/perm_456' \
  -H 'Authorization: Bearer YOUR_TOKEN'
{
  "success": true
}