Documentation

Create a user

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

Use the influx command line interface (CLI) to create a user.

Additional users cannot be created in the InfluxDB UI.

Create a user using the influx CLI

To create a new user, use the influx user create command and include the following:

  • Username
  • Organization name or organization ID to add the user to (provided in the output of influx org list)
# Syntax
influx user create -n <username> -o <org-name>

# Example
influx user create -n johndoe -o example-org

Create a user with a password and organization

To create a new user with a password and add the user as a member of an organization, include a password and organization ID with the influx user create command.

  • Username
  • Organization name or organization ID to add the user to (provided in the output of influx org list)
  • Password
# Syntax
influx user create -n <username> -p <password> -o <org-name>

# Example
influx user create -n johndoe -p PaSsWoRd -o example-org

Set your InfluxDB URL

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.