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

# delete

Delete an agent from a Claw instance in your project. This command allows you to delete an agent from a Claw instance.

## Usage

```
cldkctl claw instance agent delete [instance_name] [agent_id or agent_key] [flags]
```

## Steps

#### Non-Interactive Mode

1. Specify the Claw instance name and agent ID or agent key.
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%2F7n5CUZX6W4MlCAUu2ml2%2Fimage.png?alt=media&amp;token=190a4ef5-c462-4bc7-8506-586e8fc47ecf" 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        |
| --------- | --------- | ------- | ------------------ |
| --help    | -h        |         | help for delete    |
| --project | -p        |         | Specify project ID |
