add
Last updated

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.
cldkctl organization member add [flags]Follow the steps below to run and view the result of this command:
Before adding a member, run the following commands to get the necessary identifiers:
cldkctl project listcldkctl organization role listExecute 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>If the command runs successfully, the system displays the following message:
✔ Member addedYou can verify that the member has been successfully added by referring to the organization member list subcommand section.

This command supports refer to the Global Flags section for details.
-e, --email string
The email address of the new member.
-n, --name string
The full name of the member being added.
--phone string
The phone number of the new member.
-p, --project-id strings
The project ID to which the member will be assigned.
-r, --role-id int
The role ID that defines the member’s permission level.
-h, --help
Help for the detail subcommand.
Last updated