HomeGuidesAPI Reference
API Reference

Delete an RBAC role by name

Permanently removes an RBAC role from the system. Roles currently assigned to users or API keys cannot be deleted. On successful deletion, the RBAC API key hashmap is cleared to enforce permission updates.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required
length ≥ 1

Unique name identifier of the role to delete. Must be a non-empty string matching an existing role name.

Responses
200

Role deleted successfully. The RBAC API key hashmap has been cleared and an audit log entry created.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json