# delete

Delete a specific flexi storage by its ID.

## Usage

```
cldkctl flexi-storage delete [flags]
```

## Aliases

```
delete, del, rm
```

## Steps

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

1. Refer to the [**Flexi Storage List**](https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-flexi-storage/list) section to obtain the **storage ID**.
2. Run the following command in your terminal:

```
cldkctl flexi-storage delete [storage_id] 
```

3. Replace **\[storage\_id]** with the actual storage ID.
4. 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%2Fch1BUyVwHSbenYMu7SQA%2Fimage.png?alt=media&#x26;token=fa60022c-3260-4622-931b-3cbff95e99f9" alt=""><figcaption></figcaption></figure>

## Flags

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

| Flag                 | Description                      |
| -------------------- | -------------------------------- |
| -h, --help           | Help for the delete command.     |
| -s, --storage string | Storage ID for filtering storage |
