# edit

Edit your profile information. This command allows you to update your profile details, including full name, email, phone number, and address. You can either:

1. Use the interactive mode (TUI) by running the command without flags, or
2. Use direct flags to update specific fields instantly from the command line.

## Usage

```
cldkctl profile edit [flags]
```

## Steps

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

1. Run the following command in your terminal:

```
./cldkctl profile edit
```

2. The terminal opens an interactive profile editor for you to enter your full name, email, phone number, and address.
3. Once finished, you will be asked to confirm your changes:
   1. Press Y to confirm and save.
   2. Press N to cancel.
   3. Use Shift + Tab to move backward or Enter to go to the next field.
4. When confirmed, the profile will be updated successfully.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FLfNFuA74nnD3jIyANi3c%2Funknown.png?alt=media&#x26;token=35755895-0f35-4114-b72c-9d478de9e406" alt=""><figcaption></figcaption></figure>

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

1. If you prefer to directly update specific fields, you can use command flags.
2. Identify the Role ID of the role you want to modify. Refer to the Organization Role List section to view all Role IDs.

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

3. You can also update multiple fields simultaneously by combining flags in a single command. Each flag corresponds to a profile field, and all provided values will be updated together.

```
./cldkctl profile edit \
  --name "UserTestingAI" \
  --email "technicalwriter@lintasarta.co.id" \
  --phone "+6281234567890" \
  --address "Jl. Testing No. 123456, DKI Jakarta"

```

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FhHD8gRlAH3SCAFoNv2lb%2Funknown.png?alt=media&#x26;token=7933979f-160c-4783-865f-a912b65f9b95" alt=""><figcaption></figcaption></figure>

## Flags

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

<table><thead><tr><th width="200.66668701171875">Flag</th><th>Description</th></tr></thead><tbody><tr><td>-a, --address string</td><td>Specify or update your address.</td></tr><tr><td>-e, --email string</td><td>Specify or update your email address.</td></tr><tr><td>-h, --help</td><td>Help for the daily subcommand.</td></tr><tr><td><p>-n, --name string</p><p>    --phone string</p></td><td><p>Specify or update your full name.</p><p>Specify or update your phone number.</p></td></tr></tbody></table>
