docs-v2/content/influxdb/v2.0/security/tokens/delete-token.md

1.1 KiB

title seotitle description aliases menu weight
Delete a token Delete an API token from InfluxDB Delete an API token from InfluxDB using the InfluxDB UI or the `influx` CLI.
/influxdb/v2.0/users/tokens/delete-token
influxdb_2_0
name parent
Delete a token Manage tokens
204

Delete API tokens from the InfluxDB user interface (UI) or the influx command line interface (CLI). Once deleted, all users and external integrations using the API token will no longer have access to your InfluxDB instance.

Delete tokens in the InfluxDB UI

  1. In the navigation menu on the left, select Data (Load Data) > Tokens.

    {{< nav-icon "load-data" "v2" >}}

  2. Hover over the token you want to delete and click Delete and Confirm.

Delete tokens using the influx CLI

Use the influx auth delete command to delete a token.

This command requires an auth ID, which is available in the output of influx auth find.

# Syntax
influx auth delete -i <auth-id>

# Example
influx auth delete -i 03a2bee5a9c9a000