Update a user

This page documents an earlier version of InfluxDB. InfluxDB v2.7 is the latest stable version. View this page in the v2.7 documentation.

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

Update a user in the InfluxDB UI

User information cannot be updated in the InfluxDB UI.

Update a user using the influx CLI

Use the influx user update command to update a user. Updating a user requires the following:

  • The user ID (provided in the output of influx user list)
Update the name of a user
  1. # Syntax
  2. influx user update -i <user-id> -n <new-username>
  3. # Example
  4. influx user update -i 034ad714fdd6f000 -n janedoe