Merge pull request #617 from influxdata/add-org-members

Document adding members to orgs with the 'influx' CLI
pull/625/head
pierwill 2019-11-20 14:04:30 -08:00 committed by GitHub
commit d06350547d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 8 deletions

View File

@ -7,13 +7,15 @@ menu:
name: Add a member
parent: Manage members
weight: 201
draft: true
---
Use the InfluxDB user interface (UI) or the `influx` command line interface (CLI)
to add a member to an organization.
Use the `influx` command line interface (CLI) to add a member to an organization.
## Add a member to an organization in the InfluxDB UI
{{% cloud-msg %}}
Adding members is currently unavailable in {{< cloud-name >}}.
{{% /cloud-msg %}}
<!-- ## Add a member to an organization in the InfluxDB UI
1. Click the **Settings** tab in the navigation bar.
@ -21,11 +23,20 @@ to add a member to an organization.
2. Click on the name of an organization, then select the **Members** tab.
_Complete content coming soon_
_Complete content coming soon_ -->
## Add a member to an organization using the influx CLI
Use the [`influx org members add` command](/v2.0/reference/cli/influx/org/members/add)
to add a user to an organization. Adding a user requires the following:
1. Get a list of users and their IDs by running the following:
_Complete content coming soon_
```sh
influx user find
```
2. To add a user to an organization, run the following command:
```sh
influx org members add -n <org-name> -o <user-ID>
```
For more information, see the [`influx org members add` command](/v2.0/reference/cli/influx/org/members/add).