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

# Remove Roles from Users

> Learn how to remove roles assigned to a user using the Auth0 Dashboard or the Management API.

You can remove the [roles](https://auth0.com/docs/manage-users/access-control/rbac.md) assigned to a user 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.). The assigned roles are used with the API Authorization Core feature set.

## Prerequisites

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](https://auth0.com/docs/manage-users/access-control/authorization-core-vs-authorization-extension.md).

## Dashboard

1. Go to [Dashboard > User Management > Users](https://manage.auth0.com/#/users) and click the name of the user to view.
2. Click the **Roles** view, then click the trashcan icon next to the role you want to remove.

## Management API

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

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

| Value | Description |
| - | - |
| `USER_ID` | Τhe ID of the user to be updated. |
| `MGMT_API_ACCESS_TOKEN` | [Access Token for the Management API](https://auth0.com/docs/secure/tokens/access-tokens/management-api-access-tokens.md) with the scope `update:users`. |
| `ROLE_ID` | ID(s) of the role(s) you would like to remove for the specified user. |

## Learn more

* [Delete Roles](https://auth0.com/docs/manage-users/access-control/configure-core-rbac/roles/delete-roles.md)
* [Remove Permissions from Roles](https://auth0.com/docs/manage-users/access-control/configure-core-rbac/roles/remove-permissions-from-roles.md)
* [View Roles Assigned to Users](https://auth0.com/docs/manage-users/access-control/configure-core-rbac/rbac-users/view-user-roles.md)
* [View Users Assigned to Roles](https://auth0.com/docs/manage-users/access-control/configure-core-rbac/roles/view-users-assigned-to-roles.md)
