> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-organization/role/edit.md).

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

<figure><img src="/files/ADqi4Ctd0V0bMNMdoQx1" alt=""><figcaption></figcaption></figure>

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

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

<table><thead><tr><th width="221.3333740234375">Column</th><th>Description</th></tr></thead><tbody><tr><td>-d, --description string</td><td>Description of the role.</td></tr><tr><td>--editor strings</td><td>List of services with Editor privileges.</td></tr><tr><td>-h, --help</td><td>Help for the edit subcommand.</td></tr><tr><td>-n, --name string</td><td>Full name of the role.</td></tr><tr><td>--viewer strings</td><td>List of services with Viewer privileges.</td></tr></tbody></table>
