> 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/edit.md).

# edit

Update a member’s details, such as their assigned projects, phone number, or role within the organization. This command can be executed interactively (TUI) or directly using flags.

## Usage

```
cldkctl organization member edit [user_id] [flags]
```

## Steps

### Option 1 — Interactive Mode (TUI):

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

1. Run the following command in your terminal

```
cldkctl organization member edit
```

2. Phone Number
   1. Type your phone number directly.
   2. Press Enter to continue.
3. Project
   1. Use ↑ or ↓ arrows to navigate through the list of available projects.
   2. Type / to filter and quickly find a specific project.
   3. Press Enter to select the desired project and move to the next field.
4. Role
   1. Use ↑ / ↓ to navigate through the available roles.
   2. Press Enter to select and proceed.
5. Confirmation
   1. Use When all fields are filled, you will see the prompt `Save organization profile? [Confirm / Cancel]`
   2. Press Y to confirm and save changes or N to cancel and discard changes.
6. Navigation Tabs
   1. Shift + Tab to move back to the previous field.
   2. Enter to go to the next field.

### Option 2 — Using Flags (Non-Interactive Mode):

<figure><img src="/files/4URfQnjP08eDUq9Rbpsz" alt=""><figcaption></figcaption></figure>

1. If you prefer to directly update specific fields, you can use command flags.

```
cldkctl organization edit --address "Jl. Testing No. 123456, DKI Jakarta"
```

## 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="212.6666259765625">Flag</th><th>Description</th></tr></thead><tbody><tr><td>-h, --help</td><td>Help for the edit.</td></tr><tr><td>--phone string</td><td>Phone number of the member.</td></tr><tr><td>-p, --project-id strings</td><td>Project ID(s) to assign to the member.</td></tr><tr><td>-r, --role-id int</td><td>Role ID to assign to the member.</td></tr></tbody></table>
