influxctl token revoke
The influxctl token revoke
command revokes a database token associated with
an InfluxDB Cloud Dedicated cluster and removes all permissions
associated with the token.
Usage
influxctl token revoke <TOKEN_ID> [<TOKEN_ID_N>...]
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 InfluxDB Cloud Dedicated cluster.
Aliases
delete
Arguments
Argument | Description |
---|---|
TOKEN_ID | Database token ID to revoke |
Flags
Flag | Description | |
---|---|---|
--force | Do not prompt for confirmation to revoke (default is false) | |
-h | --help | Output command help |
Also see influxctl
global flags.
Examples
In the examples below, replace the following:
TOKEN_ID
: token ID to revoke
Revoke a database token
influxctl token revoke TOKEN_ID
Revoke multiple database tokens
influxctl token revoke TOKEN_ID_1 TOKEN_ID_2
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB Cloud Dedicated and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.