> 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/guideline-for-enterprise/cloudeka-api-list/command-reference/cldkctl-cdn-1/create/delete-2/delete-1.md).

# edit

Edit a channel for a claw instance in your project. This command allows you to edit a channel for a claw instance.

## Usage

```
cldkctl claw instance channel edit [instance_name] [channel_id or channel_name] [flags]
```

## Steps

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

1. Run the following command in your terminal:

```
cldkctl claw instance channel edit [instance_name] [channel_id or channel_name] -i true
```

2. In **Basic Information**, select the channel that you want to edit.
3. Enter the **Display Name** for the channel.
4. Select the **Channel Type**.
5. Select whether the channel is **Enabled** (`True`) or **Disabled** (`False`).
6. Select the **Agent** associated with the channel.
7. Enter the **Authentication** credentials for the channel.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FJDx5pHFnT4q3BlrkVgzP%2Fimage.png?alt=media&amp;token=997dd81d-263f-4b34-a37e-34317c183b97" alt=""><figcaption></figcaption></figure>

8. Review the channel configuration and select **Confirm** to apply the changes.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FrdmqT63wOJ6qYHetCv0v%2Fimage.png?alt=media&amp;token=c8bd3e69-963f-4829-859f-24a2f099ac99" alt=""><figcaption></figcaption></figure>

9. Once the update is completed successfully, the terminal displays:

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FnlR6EmkgMfIyBZiWUu6h%2Fimage.png?alt=media&amp;token=deefa2f9-30f2-4148-aa0a-68fa1bda69b4" alt=""><figcaption></figcaption></figure>

#### Non-Interactive Mode

1. Provide the **channel name** or **ID** and the required values using the available command flags.
2. Run the command in your terminal.
3. Once completed successfully, the terminal displays the success message.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2F0VNGvoHd5ic4IYDpdwwn%2Fimage.png?alt=media&amp;token=e2e9bcec-9527-4bee-aade-795344eacbf0" alt=""><figcaption></figcaption></figure>

## Flags

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

| Flag             | Shorthand | Default | Description                                    |
| ---------------- | --------- | ------- | ---------------------------------------------- |
| --agent          | -a        |         | Agent ID \| Name to associate with the channel |
| --authentication | -c        |         | Authentication credentials for the channel     |
| --display-name   | -d        |         | Display name of the channel                    |
| --enabled        | -e        | true    | Whether the channel is enabled (true/false)    |
| --help           | -h        |         | help for create                                |
| --interactive    | -i        | false   | Run in interactive/TUI mode (true/false)       |
| --project        | -p        |         | Specify project ID                             |
