Back to Influxdb

Create

content/shared/influxdb-v2/reference/cli/influx/org/create.md

latest2.1 KB
Original Source

The influx org create creates an organization in InfluxDB.

Usage

influx org create [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
-d--descriptionDescription of the organization
-h--helpHelp for the create command
--hide-headersHide table headers (default false)INFLUX_HIDE_HEADERS
--hostHTTP address of InfluxDB (default http://localhost:8086)stringINFLUX_HOST
--http-debugInspect communication with InfluxDB servers.string
--jsonOutput data as JSON (default false)INFLUX_OUTPUT_JSON
-n--name({{< req >}}) Organization namestring
--skip-verifySkip TLS certificate verificationINFLUX_SKIP_VERIFY
-t--tokenAPI tokenstringINFLUX_TOKEN

Examples

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

Create an organization
sh
influx org create --name example-org
Create an organization with a description
sh
influx org create \
  --name example-org \
  --description "Example organization description"