---
title: Add a member
description: Use the influx command line interface (CLI) to add a member to an organization and optionally make that member an owner across all organizations.
url: https://docs.influxdata.com/influxdb/v2/admin/organizations/members/add-member/
estimated_tokens: 373
product: InfluxDB OSS v2
version: v2
publisher: InfluxData
canonical: https://docs.influxdata.com/influxdb/v2/admin/organizations/members/add-member/
date: '2023-11-06T15:53:12-07:00'
lastmod: '2023-11-06T15:53:12-07:00'
---

This page documents an earlier version of InfluxDB OSS.[InfluxDB 3 Core](/influxdb3/core/) is the latest stable version.

#### API token hashing is enabled by default in InfluxDB OSS 2.9.0

Stronger token security: tokens are stored as hashes on disk, so a
copy of the database file doesn’t expose usable tokens. Existing
tokens are hashed on first startup and the original strings can’t
be recovered afterward — **capture any plaintext tokens you still
need before you upgrade**.

For more information, see [Token hashing](/influxdb/v2/admin/tokens/#token-hashing).

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](/influxdb/v2/admin/tokens/#operator-token))*

   #### Add member ####

   ```
   influx org members add \
     -n <org-name> \
     -m <user-ID>
   ```

   ```
   influx org members add \
     -n <org-name> \
     -m <user-ID> \
     --owner
   ```

For more information, see the [`influx org members add` command](/influxdb/v2/reference/cli/influx/org/members/add).
