Page cover

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):

  1. Run the following command in your terminal

./cldkctl organization member edit
  1. Phone Number

    1. Type your phone number directly.

    2. Press Enter to continue.

  2. 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.

  3. Role

    1. Use ↑ / ↓ to navigate through the available roles.

    2. Press Enter to select and proceed.

  4. 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.

  5. 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):

  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

Flag
Description

-h, --help

Help for the edit.

--phone string

Phone number of the member.

-p, --project-id strings

Project ID(s) to assign to the member.

-r, --role-id int

Role ID to assign to the member.

Last updated