> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/guidance-for-enterprise/cloudeka-api-list/command-reference/cldkctl-organization/member/add.md).

# add

The cldkctl organization member add command is used to add a new user to an organization and assign them specific project access and roles. Administrators can use this command to invite new members by specifying their email, name, phone number, and project-role assignment.

## Usage

```
cldkctl organization member add [flags]
```

## Steps

Follow the steps below to run and view the result of this command:

1. Before adding a member, run the following commands to get the necessary identifiers:

```
cldkctl project list
```

```
cldkctl organization role list
```

2. Execute the following command in your terminal:

```
cldkctl organization member add \
--email <user_email> \
--name "<full_name>" \
--phone <phone_number> \
--project-id <project_id> \
--role-id <role_id>
```

3. If the command runs successfully, the system displays the following message:

```
✔ Member added
```

4. You can verify that the member has been successfully added by referring to the organization member list subcommand section.

<figure><img src="/files/GJg9CpU81pa8AqAZTV5f" alt=""><figcaption></figcaption></figure>

## Flags

{% hint style="success" %}
This command supports refer to the [Global Flags ](/guidance-for-enterprise/cloudeka-api-list/global-flags.md)section for details.
{% endhint %}

<table><thead><tr><th width="211.33331298828125">Column</th><th>Description</th></tr></thead><tbody><tr><td>-e, --email string</td><td>The email address of the new member.</td></tr><tr><td>-n, --name string</td><td>The full name of the member being added.</td></tr><tr><td>--phone string</td><td>The phone number of the new member.</td></tr><tr><td>-p, --project-id strings</td><td>The project ID to which the member will be assigned.</td></tr><tr><td>-r, --role-id int</td><td>The role ID that defines the member’s permission level.</td></tr><tr><td>-h, --help</td><td>Help for the detail subcommand.</td></tr></tbody></table>
