---
title: "DELETE /dns/{dnsId}"
method: DELETE
path: "/dns/{dnsId}"
tags: ["DNS"]
---

# DELETE /dns/{dnsId}

`DELETE /dns/{dnsId}`

Delete a dns

## Path parameters

- `dnsId` string, required

## Response `200`

Success

## Other responses

- `400` — code == 3: Domain not found (Cloudflare)
- `403` — Forbidden
- `404` — DNS not found
- `500` — Server error

## Changes

- **2023-06-13** `c9159f20c562` — 1 info
  - endpoint added
- **2023-06-09** `b7c6ba235941` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/bohr-io/apis/bohr-io-api/changes/dns/:dnsId/delete.md)

---

[API](https://skmtc.dev/bohr-io/apis/bohr-io-api.md) · [All operations](https://skmtc.dev/bohr-io/apis/bohr-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bohr-io/bohr-io-api/revisions/926405b5dade/schema)
