> 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-individual/cloudeka-api-list/command-reference/cldkctl-flexi/network/vpc/delete.md).

# delete

Delete a specific VPC network in your project. This command allows you to remove a VPC.

## Usage

```
cldkctl flexi network vpc delete [flags]
```

## Aliases

```
delete, del
```

## Steps

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

#### Interactive Mode

1. Run the following command in your terminal:

```
cldkctl flexi network vpc delete
```

2. The terminal displays a list of available **VPCs**. Select the VPC that you want to delete.

<figure><img src="https://content.gitbook.com/content/dRGHNSPw8ps5rkLJZT3A/blobs/GZ5D3WHzCEcLkr8Ml9W1/image.png" alt=""><figcaption></figcaption></figure>

3. When prompted, confirm the deletion by selecting **Confirm**, or cancel the process by selecting **Cancel**.

<figure><img src="https://content.gitbook.com/content/dRGHNSPw8ps5rkLJZT3A/blobs/fa6X4NxePQzEHqZkBh6I/image.png" alt=""><figcaption></figcaption></figure>

4. Once completed successfully, the terminal displays the success message.

<figure><img src="https://content.gitbook.com/content/dRGHNSPw8ps5rkLJZT3A/blobs/j8eowqXGckFcBScL0Qi4/image%20(3).png" alt=""><figcaption></figcaption></figure>

#### Non-Interactive Mode

1. Provide all required values using command flags.
2. Add `--auto-confirm` or `-y` to skip confirmation prompts in non-interactive mode.
3. Run the command in your terminal.
4. Once completed successfully, the terminal displays the success message.

## Flags

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

| Flag           | Shorthand | Default | Description                                       |
| -------------- | --------- | ------- | ------------------------------------------------- |
| --auto-confirm | -y        | false   | Skip confirmation prompt in non-interactive mode  |
| --help         | -h        |         | Help for the delete command.                      |
| --interactive  | -i        | false   | Force interactive TUI mode                        |
| --vpc-id       |           |         | VPC ID or name (required in non-interactive mode) |
