# delete

Delete a flexi security from your project. This command allows you to remove a flexi security that is no longer needed.

## Usage

```
cldkctl flexi-security delete [security-id] [flags]
```

## Aliases

```
delete, del, rm
```

## Steps

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

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

```
cldkctl flexi-security delete [security_id] 
```

3. Replace **\[security\_id]** with the actual security 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%2Fm3abeIWZ0WTDzGm5rzSs%2Fimage.png?alt=media&#x26;token=d0774710-51b9-4cee-8f70-ab3438529168" 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. |
