> 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/deka-gpu-documentations/cloudeka-api-list/command-reference/cldkctl-flexi/network/port/delete.md).

# delete

Delete a specific port network in your project. This command allows you to remove a port by providing its unique identifier (port ID).

## Usage

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

## Aliases

```
delete, del
```

## Steps

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

#### Interactive Mode

1. Run the following command in your terminal:

```
cldkctl flexi network port delete -i true
```

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

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2F3AXymSoCXC3SIVAWnvvM%2F1.png?alt=media&amp;token=ca7f7bc5-370b-4e66-9c7f-99cacd9f4833" alt=""><figcaption></figcaption></figure>

3. The terminal displays a list of available **Ports** in the selected VPC. Select the port 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%2FMtfdLjpYUJ1eDyIGkDHV%2F2.png?alt=media&amp;token=95898029-d020-440c-b137-9937d62a7817" 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%2FKIyqeerGR3R3egafoiqQ%2F3.png?alt=media&amp;token=a654b56f-f34a-46ff-a794-3a6c09625968" 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%2FQVww8ZvT6sMGDOFc0Qu3%2F4.png?alt=media&amp;token=a52d4968-eaae-4ee6-a574-e2d0ab3fc63f" 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.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FdSilZex3tyLT1lyhD6OU%2F5.png?alt=media&amp;token=d7be3b80-23b7-434b-b0f7-565d5308ed16" alt=""><figcaption></figcaption></figure>

## Flags

{% hint style="info" %}
This command supports [global flags](/deka-gpu-documentations/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   | Run in interactive/TUI mode                        |
| --port-id      |           |         | Port ID or name (required in non-interactive mode) |
