---
title: "Delete DNS Record"
method: DELETE
path: "/dnszone/{zoneId}/records/{id}"
tags: ["DNS Zone"]
---

# Delete DNS Record

`DELETE /dnszone/{zoneId}/records/{id}`

## Path parameters

- `zoneId` integer, required
- `id` integer, required

## Response `204`

The DNS record was successfuly deleted.

## Other responses

- `400` — Failed deleting the DNS Record. See error response.
- `401` — The request authorization failed
- `404` — The DNS Zone or DNS Record with the requested ID does not exist.
- `500` — Internal Server Error

---

[API](https://skmtc.net/bunny/apis/bunny-net-cdn-logging.md) · [All operations](https://skmtc.net/bunny/apis/bunny-net-cdn-logging/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bunny/bunny-net-cdn-logging/revisions/9e622620664b/schema)
