> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/network-services/vpn-gateway/dcd-how-tos/delete-vpn-gateway.md).

# Delete VPN Gateway

IONOS CLOUD VPN Gateway: delete an existing VPN gateway using the DCD

{% hint style="info" %}
**Note:**

* You cannot delete LANs or a VDC containing VPN Gateway-connected LANs. Remember to delete the VPN gateway before deleting the connected VDC.
* VPN Gateways that are in the **Provisioning** state can be deleted using the DCD or using the Cloud API.
  {% endhint %}

To delete a VPN Gateway, follow these steps:

1\. In the **DCD**, go to **Menu** > **Network Services** > **VPN Gateway**.

2\. In the **OPTIONS** column for the selected distribution, click ![Options menu](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-2f1229538e69d452928b2f47c676bf74113448d4%2Fvpn-three-dots-option.png?alt=media) and select **Delete Gateway**.

![Delete VPN Gateway](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-1d64c4d2b7547645486b4ee17e14c90539255f36%2Fdelete-vpn-gateway.png?alt=media)

3\. Select **Delete** to confirm deletion.

![Confirm deletion](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-70a97c954e34e03f66b35f3020fa1c8095b14a8c%2Fdelete-vpn-gateway-confirm.png?alt=media)

{% hint style="success" %}
**Result:** The **STATE** of the respective VPN Gateway is set to **DESTROYING** before it is completely deleted.
{% endhint %}

![VPN Gateway in a destroying state](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-431c9e6fb56ea9b9f1e1ba0953ae94204ee48570%2Fdelete-vpn-gateway-tunnel-status.png?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ionos.com/cloud/network-services/vpn-gateway/dcd-how-tos/delete-vpn-gateway.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
