1.2 KiB
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. |
|
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