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

# Delete DNS Zone

`DELETE /dnszone/{id}`

## Request

- Base URL: `https://api.bunny.net`
- URL: `https://api.bunny.net/dnszone/{id}`
- Auth: API key in header `AccessKey`
- TypeScript: <https://skmtc.dev/bunny/apis/bunny-net-api/docs/dnszone/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` integer, required

## Response `204`

The DNS Zone was successfully deleted.

## Other responses

- `400`: Failed deleting the DNS Zone. See error response.
- `401`: The request authorization failed
- `404`: The DNS Zone with the requested ID does not exist.
- `409`: The DNS Zone is being modified by another request. Retry shortly.
- `500`: Internal Server Error

## Changes

- **2026-10-27** `2096a6606d8d`: 1 info
  - added the non-success response with the status `409`

[Operation history](https://skmtc.dev/bunny/apis/bunny-net-api/changes/dnszone/:id/delete.md)

---

[API](https://skmtc.dev/bunny/apis/bunny-net-api.md) - [All operations](https://skmtc.dev/bunny/apis/bunny-net-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bunny/apis/bunny-net-api/revisions/2b06f94dbfbf?raw)
