2019-01-23 18:58:50 +00:00
|
|
|
---
|
|
|
|
title: Update a user
|
|
|
|
seotitle: Update a user in InfluxDB
|
2019-01-23 19:30:19 +00:00
|
|
|
description: Update a user in InfluxDB using the InfluxDB UI or the influx CLI.
|
2019-01-23 18:58:50 +00:00
|
|
|
menu:
|
|
|
|
v2_0:
|
|
|
|
name: Update a user
|
|
|
|
parent: Manage users
|
|
|
|
weight: 3
|
|
|
|
---
|
|
|
|
|
|
|
|
Use the InfluxDB user interface (UI) or the `influx` command line interface (CLI)
|
|
|
|
to update a user.
|
|
|
|
|
|
|
|
## Update a user in the InfluxDB UI
|
|
|
|
|
|
|
|
_Complete content coming soon_
|
|
|
|
|
|
|
|
## Update a user using the influx CLI
|
|
|
|
|
2019-01-23 19:30:19 +00:00
|
|
|
Use the [`influx user update` command](/v2.0/reference/cli/influx/user/update)
|
2019-01-23 19:07:43 +00:00
|
|
|
to update a user. Updating a user requires the following:
|
|
|
|
|
|
|
|
- The user ID _(provided in the output of `influx user find`)_
|
|
|
|
|
|
|
|
##### Update the name of a user
|
|
|
|
```sh
|
|
|
|
# Pattern
|
|
|
|
influx user update -i <user-id> -n <new-username>
|
|
|
|
|
|
|
|
# Example
|
|
|
|
influx user update -i 034ad714fdd6f000 -n janedoe
|
|
|
|
```
|