docs-v2/content/influxdb/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.
influxdb_clustered
parent
influxctl token
301

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

The --format option lets you print the output in other formats. By default, the 'table' format is used, but the 'json' format is available for programmatic parsing by other tooling.

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