Documentation

influxctl management revoke

The influxctl management revoke command revokes management token access to your InfluxDB cluster. This operation cannot be undone.

Revoked tokens are included when listing tokens

Revoked tokens still appear when listing management tokens, but they are no longer valid for any operations.

Usage

influxctl management revoke [flags] <TOKEN_ID>[ ... TOKEN_ID_N]

Arguments

Argument Description
TOKEN_ID Token ID(s) to revoke access from (space-delimit multiple IDs)

Flags

Flag Description
--force Do not prompt for confirmation to revoke
-h --help Output command help

Examples

In the examples below, replace the following:

  • TOKEN_ID*: Token ID to revoke access from.

Revoke access from a management token

influxctl management revoke 
TOKEN_ID

Revoke access from multiple management tokens

influxctl management revoke 
TOKEN_ID_1
TOKEN_ID_2

Revoke access from a token and skip confirmation

influxctl management revoke --force 
TOKEN_ID

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