changes to address PR feedback
parent
e71d9b4a8a
commit
34c76d6ba4
|
@ -36,7 +36,7 @@ to create a new bucket. A bucket requires the following:
|
||||||
- A retention period in nanoseconds
|
- A retention period in nanoseconds
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Pattern
|
# Syntax
|
||||||
influx bucket create -n <bucket-name> -o <org-name> -r <retention period in nanoseconds>
|
influx bucket create -n <bucket-name> -o <org-name> -r <retention period in nanoseconds>
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
|
|
@ -31,7 +31,7 @@ to delete a bucket. Deleting a bucket requires the following:
|
||||||
- The name or ID of the organization to which the bucket belongs
|
- The name or ID of the organization to which the bucket belongs
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Pattern
|
# Syntax
|
||||||
influx bucket delete -i <bucket-id>
|
influx bucket delete -i <bucket-id>
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
|
|
@ -54,7 +54,7 @@ to update a bucket. Updating a bucket requires the following:
|
||||||
|
|
||||||
##### Update the name of a bucket
|
##### Update the name of a bucket
|
||||||
```sh
|
```sh
|
||||||
# Pattern
|
# Syntax
|
||||||
influx bucket update -i <bucket-id> -o <org-name> -n <new-bucket-name>
|
influx bucket update -i <bucket-id> -o <org-name> -n <new-bucket-name>
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
@ -63,7 +63,7 @@ influx bucket update -i 034ad714fdd6f000 -o my-org -n my-new-bucket
|
||||||
|
|
||||||
##### Update a bucket's retention policy
|
##### Update a bucket's retention policy
|
||||||
```sh
|
```sh
|
||||||
# Pattern
|
# Syntax
|
||||||
influx bucket update -i <bucket-id> -o <org-name> -r <retention period in nanoseconds>
|
influx bucket update -i <bucket-id> -o <org-name> -r <retention period in nanoseconds>
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
|
|
@ -33,7 +33,7 @@ to create a new organization. A new organization requires the following:
|
||||||
- A name for the organization
|
- A name for the organization
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Pattern
|
# Syntax
|
||||||
influx org create -n <org-name>
|
influx org create -n <org-name>
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
|
|
@ -32,7 +32,7 @@ to delete an organization. Deleting an organization requires the following:
|
||||||
- The organization ID _(provided in the output of `influx org find`)_
|
- The organization ID _(provided in the output of `influx org find`)_
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Pattern
|
# Syntax
|
||||||
influx org delete -i <org-id>
|
influx org delete -i <org-id>
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
|
|
@ -37,7 +37,7 @@ to remove a member from an organization. Removing a member requires the followin
|
||||||
- The member ID _(provided in the output of [`influx org members list`](/v2.0/reference/cli/influx/org/members/list/))_
|
- The member ID _(provided in the output of [`influx org members list`](/v2.0/reference/cli/influx/org/members/list/))_
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Pattern
|
# Syntax
|
||||||
influx org members remove -o <member-id> -i <organization-id>
|
influx org members remove -o <member-id> -i <organization-id>
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
|
|
@ -29,7 +29,7 @@ to list members of an organization. Listing an organization's members requires t
|
||||||
- The name or ID of the organization
|
- The name or ID of the organization
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Pattern
|
# Syntax
|
||||||
influx org members list -n <org-name>
|
influx org members list -n <org-name>
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
|
|
@ -42,7 +42,7 @@ to update an organization. Updating an organization requires the following:
|
||||||
|
|
||||||
##### Update the name of a organization
|
##### Update the name of a organization
|
||||||
```sh
|
```sh
|
||||||
# Pattern
|
# Syntax
|
||||||
influx org update -i <org-id> -n <new-org-name>
|
influx org update -i <org-id> -n <new-org-name>
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
|
|
@ -91,7 +91,7 @@ It accepts either a file path or raw Flux.
|
||||||
|
|
||||||
###### Create a task using a file
|
###### Create a task using a file
|
||||||
```sh
|
```sh
|
||||||
# Pattern
|
# Syntax
|
||||||
influx task create --org <org-name> @</path/to/task-script>
|
influx task create --org <org-name> @</path/to/task-script>
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
|
|
@ -28,7 +28,7 @@ Use the `influx task delete` command to delete a task.
|
||||||
_This command requires a task ID, which is available in the output of `influx task find`._
|
_This command requires a task ID, which is available in the output of `influx task find`._
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Pattern
|
# Syntax
|
||||||
influx task delete -i <task-id>
|
influx task delete -i <task-id>
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
|
|
@ -47,7 +47,7 @@ Modified [task options](/v2.0/process-data/task-options) defined in the Flux
|
||||||
script are also updated.
|
script are also updated.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Pattern
|
# Syntax
|
||||||
influx task update -i <task-id> @/path/to/updated-task-script
|
influx task update -i <task-id> @/path/to/updated-task-script
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
@ -61,7 +61,7 @@ command with the `--status` flag.
|
||||||
_Possible arguments of the `--status` flag are `active` or `inactive`._
|
_Possible arguments of the `--status` flag are `active` or `inactive`._
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Pattern
|
# Syntax
|
||||||
influx task update -i <task-id> --status < active | inactive >
|
influx task update -i <task-id> --status < active | inactive >
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
|
|
@ -18,10 +18,10 @@ influx user password [flags]
|
||||||
```
|
```
|
||||||
|
|
||||||
## Flags
|
## Flags
|
||||||
| Flag | Description | Input type |
|
| Flag | Description | Input type |
|
||||||
|:---- |:----------- |:----------: |
|
|:---- |:----------- |:----------: |
|
||||||
| `-h`, `--help` | Help for `find` | |
|
| `-h`, `--help` | Help for `password` | |
|
||||||
| `-i`, `--id` | The user ID | string |
|
| `-i`, `--id` | The user ID | string |
|
||||||
| `-n`, `--name` | The username | string |
|
| `-n`, `--name` | The username | string |
|
||||||
|
|
||||||
{{% influx-cli-global-flags %}}
|
{{% influx-cli-global-flags %}}
|
||||||
|
|
|
@ -35,7 +35,7 @@ Include flags with the command to grant specific permissions to the token.
|
||||||
See the [available flags](/v2.0/reference/cli/influx/auth/create#flags).
|
See the [available flags](/v2.0/reference/cli/influx/auth/create#flags).
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Pattern
|
# Syntax
|
||||||
influx auth create -o <org-name> [permission-flags]
|
influx auth create -o <org-name> [permission-flags]
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
|
|
@ -32,7 +32,7 @@ to delete a token.
|
||||||
_This command requires an auth ID, which is available in the output of `influx auth find`._
|
_This command requires an auth ID, which is available in the output of `influx auth find`._
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Pattern
|
# Syntax
|
||||||
influx auth delete -i <auth-id>
|
influx auth delete -i <auth-id>
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: Change your password
|
title: Change your password
|
||||||
seotitle: Change your password in InfluxDB
|
seotitle: Change your password in InfluxDB
|
||||||
description: Change your password in InfluxDB using the InfluxDB UI or the influx CLI.
|
description: Change your password in InfluxDB using the influx CLI.
|
||||||
menu:
|
menu:
|
||||||
v2_0:
|
v2_0:
|
||||||
name: Change your password
|
name: Change your password
|
||||||
|
@ -9,10 +9,7 @@ menu:
|
||||||
weight: 105
|
weight: 105
|
||||||
---
|
---
|
||||||
|
|
||||||
Use the InfluxDB user interface (UI) or the `influx` command line interface (CLI)
|
Use `influx` command line interface (CLI) to update your password.
|
||||||
to update your password.
|
|
||||||
|
|
||||||
## Change your password in the InfluxDB UI
|
|
||||||
|
|
||||||
{{% note %}}
|
{{% note %}}
|
||||||
User passwords cannot be updated in the InfluxDB UI.
|
User passwords cannot be updated in the InfluxDB UI.
|
||||||
|
@ -28,7 +25,7 @@ to update a password for a user. To update a password, you need the following:
|
||||||
|
|
||||||
##### Update a password
|
##### Update a password
|
||||||
```sh
|
```sh
|
||||||
# Pattern
|
# Syntax
|
||||||
influx user password -n <username>
|
influx user password -n <username>
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
|
|
@ -28,7 +28,7 @@ and include the following:
|
||||||
[`influx org find`](/v2.0/reference/cli/influx/org/find/))_
|
[`influx org find`](/v2.0/reference/cli/influx/org/find/))_
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Pattern
|
# Syntax
|
||||||
influx user create -n <username> -o <org-name>
|
influx user create -n <username> -o <org-name>
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
@ -45,7 +45,7 @@ include a password and organization ID with the `influx user create` command.
|
||||||
- Password
|
- Password
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Pattern
|
# Syntax
|
||||||
influx user create -n <username> -p <password> -o <org-name>
|
influx user create -n <username> -p <password> -o <org-name>
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
|
|
@ -32,7 +32,7 @@ to delete a user. Deleting a user requires the following:
|
||||||
- The user ID _(provided in the output of `influx user find`)_
|
- The user ID _(provided in the output of `influx user find`)_
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Pattern
|
# Syntax
|
||||||
influx user delete -i <user-id>
|
influx user delete -i <user-id>
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
|
|
@ -27,7 +27,7 @@ to update a user. Updating a user requires the following:
|
||||||
|
|
||||||
##### Update the name of a user
|
##### Update the name of a user
|
||||||
```sh
|
```sh
|
||||||
# Pattern
|
# Syntax
|
||||||
influx user update -i <user-id> -n <new-username>
|
influx user update -i <user-id> -n <new-username>
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
|
Loading…
Reference in New Issue