diff --git a/content/v2.0/organizations/buckets/create-bucket.md b/content/v2.0/organizations/buckets/create-bucket.md index 87790d539..3a01c65f8 100644 --- a/content/v2.0/organizations/buckets/create-bucket.md +++ b/content/v2.0/organizations/buckets/create-bucket.md @@ -31,14 +31,14 @@ to create a bucket. Use the [`influx bucket create` command](/v2.0/reference/cli/influx/bucket/create) to create a new bucket. A bucket requires the following: -- A name -- The name or ID of the organization the bucket belongs to -- A retention period in nanoseconds +- bucket name +- organization name or ID +- retention period duration (`ns`, `us`, `ms`, `s`, or `h`) ```sh # Syntax -influx bucket create -n -o -r +influx bucket create -n -o -r # Example -influx bucket create -n my-bucket -o my-org -r 604800000000000 +influx bucket create -n my-bucket -o my-org -r 72h ``` diff --git a/content/v2.0/reference/cli/influx/bucket/create.md b/content/v2.0/reference/cli/influx/bucket/create.md index b49df099d..d144e7929 100644 --- a/content/v2.0/reference/cli/influx/bucket/create.md +++ b/content/v2.0/reference/cli/influx/bucket/create.md @@ -16,12 +16,12 @@ influx bucket create [flags] ``` ## Flags -| Flag | Description | Input type | {{< cli/mapped >}} | -|:---- |:----------- |:----------: |:------------------ | -| `-h`, `--help` | Help for the `create` command | | | -| `-n`, `--name` | Bucket name | string | `INFLUX_BUCKET_NAME` | -| `-o`, `--org` | Organization name | string | `INFLUX_ORG` | -| `--org-id` | Organization ID | string | `INFLUX_ORG_ID` | -| `-r`, `--retention` | Duration in nanoseconds bucket will retain data | duration | | +| Flag | Description | Input type | {{< cli/mapped >}} | +|:---- |:----------- |:----------: |:------------------ | +| `-h`, `--help` | Help for the `create` command | | | +| `-n`, `--name` | Bucket name | string | `INFLUX_BUCKET_NAME` | +| `-o`, `--org` | Organization name | string | `INFLUX_ORG` | +| `--org-id` | Organization ID | string | `INFLUX_ORG_ID` | +| `-r`, `--retention` | Duration bucket will retain data | duration | | {{% cli/influx-global-flags %}}