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

# Edit Role Definitions

> Learn how to edit a role definition using the Auth0 Dashboard and the Management API.

You can edit a [role](/docs/docs/manage-users/access-control/rbac) definition 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.

## Prerequisite

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. Edit the role name and description, then click **Save**.

## Management API

Make a `PATCH` call to the [Update Role endpoint](/docs/docs/api/management/v2/roles/patch-roles-by-id). Be sure to replace `ROLE_ID`, `MGMT_API_ACCESS_TOKEN`, `ROLE_NAME`, and `ROLE_DESC` placeholder values with your role ID, Management API access token (Access Token: Authorization credential, in the form of an opaque string or JWT, used to access an API.), role name, and role description, 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 for which you want to edit the definition. |
| `MGMT_API_ACCESS_TOKEN` | [Access Token for the Management API](/docs/docs/secure/tokens/access-tokens/management-api-access-tokens) with the scope `update:roles`. |
| `ROLE_NAME` | Name of the role. |
| `ROLE_DESC` | User-friendly description of the role. |

## Learn more

* [Assign Roles to Users](/docs/docs/manage-users/access-control/configure-core-rbac/rbac-users/assign-roles-to-users)
