docs-v2/content/shared/influxdb3-cli/delete/token.md

1.4 KiB

The influxdb3 delete token command deletes an authorization token from the {{% product-name %}} server.

Usage

influxdb3 delete token [OPTIONS]

Options

Option Description Default Environment
--token ({{< req >}}) The token for authentication with the {{% product-name %}} server INFLUXDB3_AUTH_TOKEN
--token-name ({{< req >}}) The name of the token to be deleted
--tls-ca An optional arg to use a custom ca for useful for testing with self signed certs INFLUXDB3_TLS_CA
-h --help Print help information
--help-all Print detailed help information

Examples

Delete a token by name

influxdb3 delete token --token-name TOKEN_TO_DELETE --token AUTH_TOKEN

Show help for the command

influxdb3 delete token --help