> 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-3/delete-1.md).

# edit

Edit a provider from a Claw instance in your project. This command allows you to edit a provider from 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 provider edit [instance_name] [provider_id or provider_name] -i true
```

2. Select the provider that you want to edit.
3. Enter the **Display Name** of the provider.
4. Enter the **API Key** for the provider.
5. Select whether the provider is enabled (`True`) or disabled (`False`).

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2F2mr5x85BbLSrnE1zmTfe%2Fimage.png?alt=media&amp;token=c89db010-7ca3-48b8-92d5-82dc7009adf2" alt=""><figcaption></figcaption></figure>

6. Review the provider 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%2Fnzxu80cVWgcGnIAYmoR8%2Fimage.png?alt=media&amp;token=2b77dbd6-30ed-4cbe-a716-39e70bd2175e" alt=""><figcaption></figcaption></figure>

7. 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%2FA6xRNNZEtn2V5HOaaNlL%2Fimage.png?alt=media&amp;token=bf5c4046-34a5-43c8-84a7-0b69893d630d" alt=""><figcaption></figcaption></figure>

#### Non-Interactive Mode

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

1. Provide all required values using 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%2FgF3lmYHTvKYIw8U1QOq5%2Fimage.png?alt=media&amp;token=d87705a5-e94c-43f0-8480-230dc5c902a9" 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                                  |
| -------------- | --------- | ------- | -------------------------------------------- |
| --api-key      | -k        |         | API key for the provider                     |
| --display-name | -d        |         | Provider display name                        |
| --enabled      | -e        | true    | Whether the provider is enabled (true/false) |
| --help         | -h        |         | help for edit                                |
| --interactive  | -i        | false   | Run in interactive/TUI mode (true/false)     |
| --project      | -p        |         | Specify project ID                           |
