Documentation

influxctl token revoke

The influxctl token revoke command revokes a database token associated with an InfluxDB cluster and removes all permissions associated with the token.

Usage

influxctl token revoke <TOKEN_ID> [<TOKEN_ID_N>...]
  • Copy
  • Fill window

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

Aliases

delete

Arguments

ArgumentDescription
TOKEN_IDDatabase token ID to revoke

Flags

FlagDescription
--forceDo not prompt for confirmation to revoke (default is false)
-h--helpOutput command help

Examples

In the examples below, replace the following:

  • TOKEN_ID: token ID to revoke

Revoke a database token

influxctl token revoke 
TOKEN_ID
  • Copy
  • Fill window

Revoke multiple database tokens

influxctl token revoke 
TOKEN_ID_1
TOKEN_ID_2
  • Copy
  • Fill window

Was this page helpful?

Thank you for your feedback!


The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Read more

New in InfluxDB 3.2

Key enhancements in InfluxDB 3.2 and the InfluxDB 3 Explorer UI is now generally available.

See the Blog Post

InfluxDB 3.2 is now available for both Core and Enterprise, bringing the general availability of InfluxDB 3 Explorer, a new UI that simplifies how you query, explore, and visualize data. On top of that, InfluxDB 3.2 includes a wide range of performance improvements, feature updates, and bug fixes including automated data retention and more.

For more information, check out: