# delete

Delete a specific subnet network in your project. This command allows you to remove a subnet.&#x20;

## Usage

```
cldkctl flexi-network subnet delete [flags]
```

## Aliases

```
delete, del
```

## 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-network subnet delete
```

2. The terminal displays a list of available **VPCs**. Select the VPC where the subnet is located.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FkjaLoHGjDGoXPNBzb5Ny%2Fimage.png?alt=media&#x26;token=050c9a95-8d73-44a0-b8af-d071b3a00bea" alt=""><figcaption></figcaption></figure>

3. The terminal displays a list of available **Subnets** in the selected VPC. Select the subnet that you want to delete.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FasqsqHwP5nTUj0V20kFj%2Fimage.png?alt=media&#x26;token=0dd3f31a-8e26-4b7c-97e2-dfdc27ae5eea" alt=""><figcaption></figcaption></figure>

4. When prompted, confirm the action by selecting **Confirm**, or cancel the process by selecting **Cancel**.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FCararDvDKvHPvRKFPI7e%2Fimage.png?alt=media&#x26;token=b523c7dd-bf42-40f5-a8d5-42380c2510dc" alt=""><figcaption></figcaption></figure>

5. 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%2Fxn8jkZTs3UYurtJh4UiX%2Fimage%20(2).png?alt=media&#x26;token=7db79e96-a343-4c89-b0a7-01fd6f997ace" 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. |
