1.5 KiB
1.5 KiB
title | seotitle | description | menu | weight | aliases | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Add a member | Add a member to an organization in InfluxDB | Use the `influx` command line interface (CLI) to add a member to an organization and optionally make that member an owner across all organizations. |
|
201 |
|
Use the influx
command line interface (CLI) to add a member to an organization
and optionally make that member an owner across all organizations.
Add a member to an organization using the influx CLI
-
Get a list of users and their IDs by running the following:
influx user list
-
To add a user as a member of an organization, use the
influx org members add command
. Provide the following:- Organization name
- User ID
- (Optional)
--owner
flag to add the user as an owner (requires an operator token)
{{< code-tabs-wrapper >}} {{% code-tabs %}} Add member Add owner {{% /code-tabs %}} {{% code-tab-content %}}
influx org members add \
-n <org-name> \
-m <user-ID>
{{% /code-tab-content %}} {{% code-tab-content %}}
influx org members add \
-n <org-name> \
-m <user-ID> \
--owner
{{% /code-tab-content %}} {{< /code-tabs-wrapper >}}
For more information, see the influx org members add
command.