content/influxdb3/cloud-dedicated/reference/cli/influxctl/token/revoke.md
The influxctl token revoke command revokes a database token associated with
an {{% product-name omit=" Clustered" %}} cluster and removes all permissions
associated with the token.
influxctl token revoke <TOKEN_ID> [<TOKEN_ID_N>...]
[!Warning]
Revoking a token is immediate and cannot be undone
Revoking a database token is a destructive action that takes place immediately and cannot be undone.
Rotate revoked tokens
After revoking a database token, any clients using the revoked token need to be updated with a new database token to continue to interact with your {{% product-name omit=" Clustered" %}} cluster.
delete
| Argument | Description |
|---|---|
| TOKEN_ID | Database token ID to revoke |
| Flag | Description | |
|---|---|---|
--force | Do not prompt for confirmation to revoke (default is false) | |
-h | --help | Output command help |
{{% caption %}}
Also see influxctl global flags.
{{% /caption %}}
In the examples below, replace the following:
TOKEN_ID{{% /code-placeholder-key %}}:
token ID to revoke{{% code-placeholders "TOKEN_ID" %}}
influxctl token revoke TOKEN_ID
{{% /code-placeholders %}}
{{% code-placeholders "TOKEN_ID_\d{1}" %}}
influxctl token revoke TOKEN_ID_1 TOKEN_ID_2
{{% /code-placeholders %}}