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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-organization/role/edit.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
