Page cover

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

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

  1. If the command runs successfully, the system displays the following message:

✔ Member added

  1. You can verify that the member has been successfully added by referring to the organization member list subcommand section.

Flags

Column
Description

-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