docs-v2/content/influxdb/v2/admin/users/delete-user.md

1.4 KiB

title seotitle description menu weight aliases
Delete a user Delete a user from InfluxDB Delete a user from InfluxDB using the InfluxDB UI or the influx CLI.
influxdb_v2
name parent
Delete a user Manage users
103
/influxdb/v2/users/delete-user/

Use the InfluxDB user interface (UI) or the influx command line interface (CLI) to delete a user.

{{% warn %}} Deleting a user removes them completely from InfluxDB. To remove a user from an organization without deleting the user entirely, see Remove a member from an organization. {{% /warn %}}

Delete a user from the InfluxDB UI

{{% note %}} Users cannot be deleted from the InfluxDB UI. {{% /note %}}

Delete a user using the influx CLI

Use the influx user delete command to delete a user. Provide the following:

{{% code-placeholders "USER_ID" %}}

influx user delete --id USER_ID

{{% /code-placeholders %}}

Replace {{% code-placeholder-key %}}USER_ID{{% /code-placeholder-key %}} with the ID of the user to delete.