Back to Influxdb

Update

content/shared/influxdb-v2/reference/cli/influx/user/update.md

latest1.9 KB
Original Source

The influx user update command updates information related to a user in InfluxDB.

Usage

influx user update [flags]

Flags

FlagDescriptionInput type{{< cli/mapped >}}
-c--active-configCLI configuration to use for commandstring
--configs-pathPath to influx CLI configurations (default ~/.influxdbv2/configs)stringINFLUX_CONFIGS_PATH
-h--helpHelp for the update command
--hide-headersHide table headers (default false)INFLUX_HIDE_HEADERS
--hostHTTP address of InfluxDB (default http://localhost:8086)stringINFLUX_HOST
-i--id({{< req >}}) User IDstring
--jsonOutput data as JSON (default false)INFLUX_OUTPUT_JSON
-n--nameUsernamestring
--skip-verifySkip TLS certificate verificationINFLUX_SKIP_VERIFY
-t--tokenAPI tokenstringINFLUX_TOKEN

Examples

{{< cli/influx-creds-note >}}

Update a username
sh
influx user update \
  --id 0Xx0oox00XXoxxoo1 \
  --name new-username