influx auth active
influx auth active command activates an API token.
Only active tokens authorize access to InfluxDB.
influx auth active [flags]
|Flag||Description||Input type||Maps to ?|
|CLI configuration to use for command||string|
|Path to ||string|
|Help for the |
|Hide table headers (default |
|Inspect communication with InfluxDB servers.||string|
|HTTP address of InfluxDB (default ||string|
|(Required) API token ID||string|
|Output data as JSON (default |
|Skip TLS certificate verification|
The examples below assume your InfluxDB host, organization, and token are
provided by the active
influx CLI configuration.
If you do not have a CLI configuration set up, use the appropriate flags to provide these required credentials.
Activate an API token
influx auth active --id 06c86c40a9f36000
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, use the following resources:
InfluxDB Cloud and InfluxDB Enterprise customers can contact InfluxData Support.