docs-v2/content/influxdb3/clustered/reference/cli/influxctl/token/get.md

1.2 KiB

title description menu weight
influxctl token get The `influxctl token get` command returns information about a database token in an InfluxDB cluster.
influxdb3_clustered
parent
influxctl token
301

The influxctl token get command returns information about a database token in an InfluxDB cluster.

The --format flag lets you print the output in other formats. The json format is available for programmatic parsing by other tooling. Default: table.

Usage

influxctl token get [command options] <TOKEN_ID>

Flags

Flag Description
--format Output format (table (default) or json)
-h --help Output command help

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

Examples

{{% code-placeholders "TOKEN_ID" %}}

influxctl token get TOKEN_ID

{{% /code-placeholders %}}

Replace the following:

  • {{% code-placeholder-key %}}TOKEN_ID{{% /code-placeholder-key %}}: token ID to delete