> 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-flexi/instance/delete.md).

# delete

Delete a flexi instance in your project. This command allows you to delete a flexi instance.

## Usage

```
cldkctl flexi instance delete [name] [flags]
```

## Aliases

```
delete, del, rm
```

## Steps

Follow the steps below to run and view the result of this command:&#x20;

1. Run the following command in your terminal:

```
cldkctl flexi instance delete [instance-name] 
```

2. Replace **\[instance-name]** with the name of the instance.
3. Once completed successfully, the terminal displays the success message.

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

## Flags

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

| Flag             | Shorthand | Default | Description                                        |
| ---------------- | --------- | ------- | -------------------------------------------------- |
| --force          |           | false   | Detach all interfaces before deleting the instance |
| --help           | -h        |         | Help for the delete command.                       |
| --project string | -p        |         | Specify project ID.                                |
