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
|
||||
|
||||
```sh
|
||||
# Pattern
|
||||
# Syntax
|
||||
influx bucket create -n <bucket-name> -o <org-name> -r <retention period in nanoseconds>
|
||||
|
||||
# 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
|
||||
|
||||
```sh
|
||||
# Pattern
|
||||
# Syntax
|
||||
influx bucket delete -i <bucket-id>
|
||||
|
||||
# Example
|
||||
|
|
|
@ -54,7 +54,7 @@ to update a bucket. Updating a bucket requires the following:
|
|||
|
||||
##### Update the name of a bucket
|
||||
```sh
|
||||
# Pattern
|
||||
# Syntax
|
||||
influx bucket update -i <bucket-id> -o <org-name> -n <new-bucket-name>
|
||||
|
||||
# Example
|
||||
|
@ -63,7 +63,7 @@ influx bucket update -i 034ad714fdd6f000 -o my-org -n my-new-bucket
|
|||
|
||||
##### Update a bucket's retention policy
|
||||
```sh
|
||||
# Pattern
|
||||
# Syntax
|
||||
influx bucket update -i <bucket-id> -o <org-name> -r <retention period in nanoseconds>
|
||||
|
||||
# Example
|
||||
|
|
|
@ -33,7 +33,7 @@ to create a new organization. A new organization requires the following:
|
|||
- A name for the organization
|
||||
|
||||
```sh
|
||||
# Pattern
|
||||
# Syntax
|
||||
influx org create -n <org-name>
|
||||
|
||||
# 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`)_
|
||||
|
||||
```sh
|
||||
# Pattern
|
||||
# Syntax
|
||||
influx org delete -i <org-id>
|
||||
|
||||
# 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/))_
|
||||
|
||||
```sh
|
||||
# Pattern
|
||||
# Syntax
|
||||
influx org members remove -o <member-id> -i <organization-id>
|
||||
|
||||
# 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
|
||||
|
||||
```sh
|
||||
# Pattern
|
||||
# Syntax
|
||||
influx org members list -n <org-name>
|
||||
|
||||
# Example
|
||||
|
|
|
@ -42,7 +42,7 @@ to update an organization. Updating an organization requires the following:
|
|||
|
||||
##### Update the name of a organization
|
||||
```sh
|
||||
# Pattern
|
||||
# Syntax
|
||||
influx org update -i <org-id> -n <new-org-name>
|
||||
|
||||
# Example
|
||||
|
|
|
@ -91,7 +91,7 @@ It accepts either a file path or raw Flux.
|
|||
|
||||
###### Create a task using a file
|
||||
```sh
|
||||
# Pattern
|
||||
# Syntax
|
||||
influx task create --org <org-name> @</path/to/task-script>
|
||||
|
||||
# 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`._
|
||||
|
||||
```sh
|
||||
# Pattern
|
||||
# Syntax
|
||||
influx task delete -i <task-id>
|
||||
|
||||
# Example
|
||||
|
|
|
@ -47,7 +47,7 @@ Modified [task options](/v2.0/process-data/task-options) defined in the Flux
|
|||
script are also updated.
|
||||
|
||||
```sh
|
||||
# Pattern
|
||||
# Syntax
|
||||
influx task update -i <task-id> @/path/to/updated-task-script
|
||||
|
||||
# Example
|
||||
|
@ -61,7 +61,7 @@ command with the `--status` flag.
|
|||
_Possible arguments of the `--status` flag are `active` or `inactive`._
|
||||
|
||||
```sh
|
||||
# Pattern
|
||||
# Syntax
|
||||
influx task update -i <task-id> --status < active | inactive >
|
||||
|
||||
# Example
|
||||
|
|
|
@ -18,10 +18,10 @@ influx user password [flags]
|
|||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for `find` | |
|
||||
| `-i`, `--id` | The user ID | string |
|
||||
| `-n`, `--name` | The username | string |
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-h`, `--help` | Help for `password` | |
|
||||
| `-i`, `--id` | The user ID | string |
|
||||
| `-n`, `--name` | The username | string |
|
||||
|
||||
{{% 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).
|
||||
|
||||
```sh
|
||||
# Pattern
|
||||
# Syntax
|
||||
influx auth create -o <org-name> [permission-flags]
|
||||
|
||||
# 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`._
|
||||
|
||||
```sh
|
||||
# Pattern
|
||||
# Syntax
|
||||
influx auth delete -i <auth-id>
|
||||
|
||||
# Example
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: Change your password
|
||||
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:
|
||||
v2_0:
|
||||
name: Change your password
|
||||
|
@ -9,10 +9,7 @@ menu:
|
|||
weight: 105
|
||||
---
|
||||
|
||||
Use the InfluxDB user interface (UI) or the `influx` command line interface (CLI)
|
||||
to update your password.
|
||||
|
||||
## Change your password in the InfluxDB UI
|
||||
Use `influx` command line interface (CLI) to update your password.
|
||||
|
||||
{{% note %}}
|
||||
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
|
||||
```sh
|
||||
# Pattern
|
||||
# Syntax
|
||||
influx user password -n <username>
|
||||
|
||||
# Example
|
||||
|
|
|
@ -28,7 +28,7 @@ and include the following:
|
|||
[`influx org find`](/v2.0/reference/cli/influx/org/find/))_
|
||||
|
||||
```sh
|
||||
# Pattern
|
||||
# Syntax
|
||||
influx user create -n <username> -o <org-name>
|
||||
|
||||
# Example
|
||||
|
@ -45,7 +45,7 @@ include a password and organization ID with the `influx user create` command.
|
|||
- Password
|
||||
|
||||
```sh
|
||||
# Pattern
|
||||
# Syntax
|
||||
influx user create -n <username> -p <password> -o <org-name>
|
||||
|
||||
# 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`)_
|
||||
|
||||
```sh
|
||||
# Pattern
|
||||
# Syntax
|
||||
influx user delete -i <user-id>
|
||||
|
||||
# Example
|
||||
|
|
|
@ -27,7 +27,7 @@ to update a user. Updating a user requires the following:
|
|||
|
||||
##### Update the name of a user
|
||||
```sh
|
||||
# Pattern
|
||||
# Syntax
|
||||
influx user update -i <user-id> -n <new-username>
|
||||
|
||||
# Example
|
||||
|
|
Loading…
Reference in New Issue