---
title: Delete existing DNS records
canonical: https://openvpn.net/cloud-docs/developer/cloudconnexa-beta-api-v0-16-0/dns-record/delete-existing-dns-records/
product: CloudConnexa Docs
---

# Delete existing DNS records

`DELETE /api/beta/dns-records/{dnsRecordId}`

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| dnsRecordId | path | string | true | dnsRecordId |

## Responses

| Status | Meaning | Description | Schema |
| --- | --- | --- | --- |
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | None |
| 204 | [No Content](https://tools.ietf.org/html/rfc7231#section-6.3.5) | No content | None |
| 400 | [Bad Request](https://tools.ietf.org/html/rfc7231#section-6.5.1) | Bad Request | None |
| 401 | [Unauthorized](https://tools.ietf.org/html/rfc7235#section-3.1) | Unauthorized | None |
| 403 | [Forbidden](https://tools.ietf.org/html/rfc7231#section-6.5.3) | Access Forbidden | None |
| 404 | [Not Found](https://tools.ietf.org/html/rfc7231#section-6.5.4) | Not Found | None |
| 406 | [Not Acceptable](https://tools.ietf.org/html/rfc7231#section-6.5.6) | Not Acceptable | None |
| 429 | [Too Many Requests](https://tools.ietf.org/html/rfc6585#section-4) | Too Many Requests | None |
| 500 | [Internal Server Error](https://tools.ietf.org/html/rfc7231#section-6.6.1) | Internal Server Error | None |

To perform this operation, you must be authenticated by means of one of the following methods: OAuth\_authorization

---

Prev: [Create new DNS records](https://openvpn.net/cloud-docs/developer/cloudconnexa-beta-api-v0-16-0/dns-record/create-new-dns-records.md)
Next: [Update existing DNS records](https://openvpn.net/cloud-docs/developer/cloudconnexa-beta-api-v0-16-0/dns-record/update-existing-dns-records.md)
Index: https://openvpn.net/cloud-docs/llms.txt
