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

# Add API Permissions

> Learn how to add permissions to APIs using the Auth Dashboard or the Management API.

You can add permissions to an API 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.).

> [!WARNING]
>
> By default, any user of any application can ask for any permission defined here. You can implement access policies to limit this behavior via [rules](/docs/docs/customize/rules).

## Use the Dashboard

1. Go to [Dashboard > Applications > APIs](https://manage.auth0.com/#/apis) and click the name of the API to view.

   ![Dashboard Applications APIs List](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/cdy7uua7fh8z/3rhmhghYZDSi6YWHRA5yMQ/c71340259481b0b6787d5f3887cfda0f/dashboard-apis-list.png)
2. Go to the **Permissions** tab and enter a permission name and description for the permission you want to add. Be sure not to use any reserved permission names (see Reserved names section).

   ![Dashboard Add API Permissions API Define Permissions Screen](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/cdy7uua7fh8z/32Pb185OFs2mC6z2fmunEw/2708c52c2869d016066cc456dd00b6a2/dashboard-applications-apis-permissions.png)
3. Click **Add**. Remember that individual Applications may need permissions and/or scopes updated to interact properly with the API.

## Use the Management API

Patching the permissions with an empty object removes the permissions completely.

Make a `PATCH` call to the [Update Resource Server endpoint](/docs/docs/api/management/v2/resource-servers/patch-resource-servers-by-id). Be sure to replace `API_ID`, `MGMT_API_ACCESS_TOKEN`, `PERMISSION_NAME`, and `PERMISSION_DESC` placeholder values with your API ID, Management API Access Token (Access Token: Authorization credential, in the form of an opaque string or JWT, used to access an API.), permission name(s), and permission description(s), respectively. Be sure not to use any reserved permission names (see Reserved names section).

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.

When adding or updating scopes, Management API requires that you pass all scopes you would to include. If any of the existing scopes are not passed, they will be removed.

| Value | Description |
| - | - |
| `API_ID` | ID of the API for which you want to delete 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:resource_servers`. |
| `PERMISSION_NAME` | Name(s) of the permission(s) you want to keep for the specified API. |
| `PERMISSION_DESC` | User-friendly description(s) of the permission(s) you want to keep for the specified API. |

## Reserved names

The following permission names are reserved and cannot be set as custom API permissions:

* address
* created\_at
* email
* email\_verified
* family\_name
* given\_name
* identities
* name
* nickname
* offline\_access
* openid (OpenID: Open standard for authentication that allows applications to verify users' identities without collecting and storing login information.)
* phone
* picture
* profile

## Learn more

* [Customize Consent Prompts](/docs/docs/customize/login-pages/customize-consent-prompts)
* [Configure Logical API for Multiple APIs](/docs/docs/get-started/apis/set-logical-api)
* [Role-Based Access Control](/docs/docs/manage-users/access-control/rbac)
* [Enable Role-Based Access Control for APIs](/docs/docs/get-started/apis/enable-role-based-access-control-for-apis)
