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

# Update Grant Types

> Learn how to update an application's grant types using the Auth0 Dashboard or the Management API.

You can change your application's grant types 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 > Applications](https://manage.auth0.com/#/applications) and select the name of the application to view.

   ![Dashboard Applications List](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/cdy7uua7fh8z/1ecNwGgFQZxdP57p0tp3jT/cd608fcfae22e195b604e2707e5a848d/App_List_-_EN.png)
2. Scroll to the bottom of the page, and select **Show Advanced Settings**.
3. Select **Grant Types**, and enable or disable the appropriate grants for the application. When finished, select **Save Changes**. The device code grant type is only available for native apps.

   ![Dashboard Applications Application Settings Tab Advanced Settings Grant Types tab](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/cdy7uua7fh8z/4ZMq4VfeGsKsKfZVFwSqe8/a0057749551915ac8d24b151bc27e875/Grant_Types_-_English.png)

## Use the Management API

Make a `PATCH` call to the [`/Clients/patch_clients_by_id`](/docs/docs/api/management/v2/clients/patch-clients-by-id) endpoint. Be sure to replace `{yourClientId}`, `{yourManagementApiAccessToken}`, and `{grantType}` placeholder values with your client ID (Client ID: Identification value given to your registered resource from Auth0.), Management API access token (Client ID: Identification value given to your registered resource from Auth0.), and desired grant type, 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 |
| - | - |
| `{yourClientId}` | Τhe ID of the application to be updated. |
| `MGMT_API_ACCESS_TOKEN` | [Access Tokens for the Management API](/docs/docs/secure/tokens/access-tokens/management-api-access-tokens) with the scope `update:clients`. |
| `GRANT_TYPES` | The grant types you would like to enable for the specified application. |

## Troubleshoot

Attempting to use a flow with an application lacking the appropriate `grant_types` for that flow (or with the field empty) will result in the following error:
``Grant type `grant_type` not allowed for the client.``

## Learn more

* [Application Grant Types](/docs/docs/get-started/applications/application-grant-types)
