> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Roles

> Learn how to delete a role using the Auth0 Dashboard or the Management API.

You can delete a [role](/docs/docs/manage-users/access-control/rbac) using the Auth0 Dashboard (Auth0 Dashboard: Auth0's main product to configure your services.) or the Management API (Auth0 Dashboard: Auth0's main product to configure your services.). 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](/docs/docs/manage-users/access-control/authorization-core-vs-authorization-extension).

## Dashboard

1. Go to [Dashboard > User Management > Roles](https://manage.auth0.com/#/roles) and click the name of the role to view.
2. Click **Remove this Role**, and confirm.

## Management API

Make a `DELETE` call to the [Delete Role endpoint](/docs/docs/api/management/v2/roles/delete-roles-by-id). Be sure to replace `ROLE_ID` and `MGMT_API_ACCESS_TOKEN` placeholder values with your role ID and Management API access token (Access Token: Authorization credential, in the form of an opaque string or JWT, used to access an API.), respectively.

Using the Auth0 CLI? If you haven't already, [set up and authenticate your CLI session](/docs/docs/deploy-monitor/auth0-cli) before running this command.

| Value | Description |
| - | - |
| `ROLE_ID` | Τhe ID of the role you want to delete. |
| `MGMT_API_ACCESS_TOKEN` | [Access Token for the Management API](/docs/docs/secure/tokens/access-tokens/management-api-access-tokens) with the scope `delete:roles`. |

## Learn more

* [Create Roles](/docs/docs/manage-users/access-control/configure-core-rbac/roles/create-roles)
