Page cover

edit

The cldkctl organization role edit command updates the permissions, services, and other details associated with a specific role in the organization. This command is useful when you need to modify a role’s name, description, or access privileges without creating a new role.

Usage

cldkctl organization role edit [role_id] [flags]

Steps

Follow the steps below to run and view the result of this command:

  1. Identify the Role ID of the role you want to modify. Refer to the Organization Role List section to view all Role IDs.

  2. Run the command below to update the role’s name, description, or service privileges ./cldkctl billing daily detail

  3. Replace <role_id> with the ID of the role you wish to edit.

  4. Add the relevant flags such as --name, --description, --editor, or --viewer to specify the new details or permissions.

  5. After running the command, wait for the CLI to confirm that the role has been successfully updated

Flags

Column
Description

-d, --description string

Description of the role.

--editor strings

List of services with Editor privileges.

-h, --help

Help for the edit subcommand.

-n, --name string

Full name of the role.

--viewer strings

List of services with Viewer privileges.

Last updated