docs-v2/content/influxdb/v2/admin/organizations/members/add-member.md

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.
influxdb_v2
name parent
Add a member Manage members
201
/influxdb/v2/organizations/members/add-member/

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

  1. Get a list of users and their IDs by running the following:

    influx user list
    
  2. 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.