Back to Influxdb

influxctl management revoke

content/influxdb3/cloud-dedicated/reference/cli/influxctl/management/revoke.md

latest2.0 KB
Original Source

The influxctl management revoke command revokes management token access to your {{< product-name omit=" Clustered" >}} cluster. This operation cannot be undone.

[!Note]

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

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

Arguments

ArgumentDescription
TOKEN_IDToken ID(s) to revoke access from (space-delimit multiple IDs)

Flags

FlagDescription
--forceDo not prompt for confirmation to revoke
-h--helpOutput command help

{{% caption %}} Also see influxctl global flags. {{% /caption %}}

Examples

In the examples below, replace the following:

  • {{% code-placeholder-key %}}TOKEN_ID*{{% /code-placeholder-key %}}: Token ID to revoke access from.

{{% code-placeholders "TOKEN_ID(_[1-2])?" %}}

Revoke access from a management token

sh
influxctl management revoke TOKEN_ID

Revoke access from multiple management tokens

sh
influxctl management revoke TOKEN_ID_1 TOKEN_ID_2

Revoke access from a token and skip confirmation

sh
influxctl management revoke --force TOKEN_ID

{{% /code-placeholder-key %}}