2.3 KiB
2.3 KiB
title | description | menu | weight | related | |||||
---|---|---|---|---|---|---|---|---|---|
influxctl management revoke | The `influxctl management revoke` command revokes management token access to your InfluxDB cluster. |
|
301 |
|
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
- Revoke access from a management token
- Revoke access from multiple management tokens
- Revoke access from a token and skip confirmation
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 %}}