Regenerate an admin token
Use the CLI to regenerate an admin token
To regenerate an admin token, you can use the --regenerate
flag with the influxdb3 create token --admin
subcommand. This revokes the existing admin token.
influxdb3 create token --admin \
--token ADMIN_TOKEN
--host localhost:8181
--regenerate
In your command, replace ADMIN_TOKEN
with the current token string.
By default, influxdb3
asks for confirmation before regenerating the token.
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 3 Core and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.