Skip to main content
DELETE
Remove a specific permission from a role. This allows you to revoke individual permissions without affecting other permissions assigned to the role. Requires Super Admin or HR Manager permissions.

Path Parameters

string
required
The unique identifier of the role (UUID format)Example: "550e8400-e29b-41d4-a716-446655440000"
string
required
The unique identifier of the permission to remove (UUID format)Example: "770e8400-e29b-41d4-a716-446655440000"

Response

boolean
Indicates if the request was successful
object
The updated role object after permission removal

Authorization

This endpoint requires authentication with a Bearer token and one of the following roles:
  • Super Admin
  • HR Manager
Removing a permission will immediately affect all users assigned to this role. Ensure this action is intentional before proceeding.