You can delete a role using the or the . Roles are used with the API Authorization Core feature set. For role-based access control (RBAC) to work properly, you must enable it for your API using either the Dashboard or the Management API. The Authorization Core functionality is different from the Authorization Extension. For a comparison, read Authorization Core vs. Authorization Extension.Documentation Index
Fetch the complete documentation index at: https://docs-staging.auth0-mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Dashboard
- Go to Dashboard > User Management > Roles and click the name of the role to view.
- Click Remove this Role, and confirm.
Management API
Make aDELETE call to the Delete Role endpoint. Be sure to replace ROLE_ID and MGMT_API_ACCESS_TOKEN placeholder values with your role ID and Management API , respectively.
| Value | Description |
|---|---|
ROLE_ID | Τhe ID of the role you want to delete. |
MGMT_API_ACCESS_TOKEN | Access Token for the Management API with the scope delete:roles. |