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

# Delete API Permissions

> Learn how to delete permissions from APIs using the Auth0 Dashboard or the Management API.

You can delete permissions from 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.).

## 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 click the trashcan icon next to the permission you want to remove and confirm.

   ![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)

## Use the Management API

Make a PATCH call to the [Update Resource Server endpoint](/docs/docs/api/management/v2/resource-servers/patch-resource-servers-by-id) that includes all permissions you want to keep and excludes all permissions you want to delete. 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.

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 |
| - | - |
| `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. |

## 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)
