# 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-individual/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>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/guidance-for-individual/cloudeka-api-list/command-reference/cldkctl-organization/member/add.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
