# delete-openvpn

The vpn delete-openvpn command allows you to delete an existing OpenVPN configuration from your project. This command removes the OpenVPN service associated with the specified VPN instance and user credentials.

## Usage

```
cldkctl vpn delete-openvpn [flags]
```

## Steps

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

1. Run the following command in your terminal:

```
cldkctl vpn delete-openvpn
```

2. Enter your project name in the **Project Name f**ield. Refer to **project list** to verify or obtain the correct project name.
3. Enter the VPN instance name in the **VPN Name** field. Refer to **vpn list** to confirm the VPN name before proceeding.
4. Enter the public IP address in the **IP Public** field. The IP address can also be obtained from **vpn list.**
5. Enter the username associated with the OpenVPN configuration in the **Username** field.&#x20;
6. Confirm the deletion process by pressing **y** for Confirm or **n** for Cancel.

<figure><img src="/files/7sY1IycOckEU4EOWV3RI" alt=""><figcaption></figcaption></figure>

7. Once successful, the terminal displays **“✓ OpenVPN on process deleted in 20 seconds”.**

<figure><img src="/files/khO2uwcqQUR4wes5F7XX" alt=""><figcaption></figcaption></figure>

## Flags

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

| Flag       | Description                       |
| ---------- | --------------------------------- |
| -h, --help | Help for delete open vpn command. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-vpn/delete-openvpn.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
