docs-v2/content/v2.0/reference/cli/influx/user/create.md

30 lines
1.0 KiB
Markdown

---
title: influx user create
description: The 'influx user create' command creates a user in InfluxDB.
menu:
v2_0_ref:
name: influx user create
parent: influx user
weight: 1
---
The `influx user create` command creates a new user in InfluxDB.
## Usage
```
influx user create [flags]
```
## Flags
| Flag | Description | Input type |
|:---- |:----------- |:----------: |
| `-h`, `--help` | Help for `create` | |
| `-n`, `--name` | The user name **(Required)** | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands locally against the filesystem | |
| `-t`, `--token` | API token to be used throughout client calls | string |