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

# Add Permissions to Roles

> Learn how to add permissions to roles using the Auth0 Dashboard or the Management API.

You can add permissions to [roles](/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.). The roles and their permissions can be 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](/docs/docs/manage-users/access-control/authorization-core-vs-authorization-extension).
* Roles are selected from pre-defined values. If your list of roles is blank, you need to [create a role](/docs/docs/manage-users/access-control/configure-core-rbac/roles/create-roles).
* [Set up an API](/docs/docs/get-started/auth0-overview/set-up-apis) in the Auth0 Dashboard.
* Permissions are selected from predefined values. If your list of permissions is blank, you need to [add permissions](/docs/docs/get-started/apis/add-api-permissions) to your API.

## Dashboard

1. Go to [Dashboard > User Management > Roles](https://manage.auth0.com/#/roles) and click the name of the role to view.
2. Click the **Permissions** tab, then click **Add Permissions**.
3. Select the API from which you want to assign permissions, then select the permissions to add to the role, and click **Add Permissions**.

## Management API

Make a `POST` call to the [Add Role Permissions endpoint](/docs/docs/api/management/v2/roles/post-role-permission-assignment). Be sure to replace `ROLE_ID`, `MGMT_API_ACCESS_TOKEN`, `API_IDENTIFIER`, and `PERMISSION_NAME` 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.), API identifier (audience (Access Token: Authorization credential, in the form of an opaque string or JWT, used to access an API.)), and permission name(s), 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 add permissions. |
| `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`. |
| `API_IDENTIFIER` | This is the identifier of the API associated with the permission(s) you would like to add for the specified role, otherwise known as the audience. This is not the API ID. |
| `PERMISSION_NAME` | Name(s) of the permission(s) you would like to add for the specified role. |

## Learn more

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