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

# Revoke Signing Keys

> Learn how to revoke your tenant's application signing key using the Auth0 Dashboard or Management API.

You can revoke your tenant's application or API signing key 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 signing key is used to sign ID tokens (Management API: A product to allow customers to perform administrative tasks.), access tokens (ID Token: Credential meant for the client itself, rather than for accessing a resource.), SAML (Access Token: Authorization credential, in the form of an opaque string or JWT, used to access an API.) assertions, and WS-Fed (Security Assertion Markup Language (SAML): Standardized protocol allowing two parties to exchange authentication information without a password.) assertions sent to your application or API. To learn more, read [Signing Keys](/docs/docs/get-started/tenant-settings/signing-keys).

## Prerequisites

* Before you can revoke a previously-used signing key, you must first have rotated the key. To learn more, read [Rotate Signing Keys](/docs/docs/get-started/tenant-settings/signing-keys/rotate-signing-keys), or see the **Rotate and revoke signing key** section below.
* Make sure you have updated your application or API with the new key before you revoke the previous key.

> [!WARNING]
>
> You cannot reuse a signing key after revocation, so be sure that you want to revoke it.

## Use the Dashboard

### Revoke previously used signing key

1. Go to [Dashboard > Settings > Signing Keys](https://manage.auth0.com/#/tenant/signing_keys).
2. In the **List of Valid Keys** section, locate the **Previously Used** key, select the more options (**...**) menu, and select **Revoke Key**.
   The **List of Valid Keys** section lists the current signing key being used by your tenant, plus the next signing key that will be assigned should you choose to rotate your signing keys. If you have previously rotated signing keys, this section also lists the previously-used keys.
   The **List of Revoked Keys** section lists the last three revoked keys for your tenant.
3. Select **Revoke** to confirm.

### Rotate and revoke signing key

1. Go to [Dashboard > Settings > Signing Keys](https://manage.auth0.com/#/tenant/signing_keys).
2. In the **Rotation Settings** section, locate the **Rotate & Revoke Signing Key** section, and select **Rotate & Revoke Key**.
3. Select **Rotate & Revoke** to confirm.

## Use the Management API

> [!WARNING]
>
> You can only revoke the previously used signing key.

1. To get a list of the signing keys, make a `GET` call to the [Get all Application Signing Keys](/docs/docs/api/management/v2/keys/get-signing-keys) endpoint.
2. Make a `PUT` call to the [Revoke an Application Signing Key by its Key ID](/docs/docs/api/management/v2/keys/put-signing-keys) endpoint. Be sure to replace the `{yourKeyId}` and `{yourMgmtApiAccessToken}` placeholder values with your signing key's ID and Management API access token, 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 |
| - | - |
| `YOUR_KEY_ID` | ID of the signing key to be revoked. To learn how to find your signing key ID, see [Locate JSON Web Key Sets](/docs/docs/secure/tokens/json-web-tokens/locate-json-web-key-sets). |
| `MGMT_API_ACCESS_TOKEN` | [Access Token for the Management API](/docs/docs/secure/tokens/access-tokens/management-api-access-tokens) with the scope `update:signing_keys`. |

## Learn more

* [Rotate Signing Keys](/docs/docs/get-started/tenant-settings/signing-keys/rotate-signing-keys)
* [View Signing Certificates](/docs/docs/get-started/tenant-settings/signing-keys/view-signing-certificates)
* [Change Application Signing Algorithms](/docs/docs/get-started/applications/change-application-signing-algorithms)
