curl --request DELETE \
--url https://api.example.com/api/roles/{roleId} \
--header 'Authorization: Bearer <token>'{
"status": "ok"
}Deletes a role and removes all associated group assignments.
curl --request DELETE \
--url https://api.example.com/api/roles/{roleId} \
--header 'Authorization: Bearer <token>'{
"status": "ok"
}Documentation Index
Fetch the complete documentation index at: https://docs.gorules.io/llms.txt
Use this file to discover all available pages before exploring further.
Personal access token is obtained through your profile
Unique identifier of the role to delete
Confirmation that the role was deleted
Confirmation that the role was deleted
Operation status
ok Was this page helpful?