docs-v2/content/influxdb3/clustered/reference/cli/influxctl/management/revoke.md

2.3 KiB

title description menu weight related
influxctl management revoke The `influxctl management revoke` command revokes management token access to your InfluxDB cluster.
influxdb3_clustered
parent
influxctl management
301
/influxdb3/clustered/admin/tokens/management/revoke/

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. {{% /note %}}

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

{{% 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

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

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