---
title: "Delete a managed DNS record (only records owned by this install)"
method: DELETE
path: "/dns-records"
tags: ["DNS Records"]
---

# Delete a managed DNS record (only records owned by this install)

`DELETE /dns-records`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/dns-records`
- Auth: HTTP bearer

## Query parameters

- `domain` string, required
- `name` string, required
- `record_type` 'A' | 'AAAA' | 'CNAME' | 'TXT' | 'MX' | 'NS' | 'SRV' | 'CAA' | 'PTR', required: DNS record types

## Response `204`

Record removed (or already absent)

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Domain not managed by any DNS provider
- `409`: Record is not managed by temps, is owned by another workflow, or is busy

## Changes

- **2026-10-05** `4b228ebed583`: 1 info
  - endpoint added
- **2026-10-05** `63a80791dc58`: 1 breaking
  - api path removed without deprecation
- **2026-10-03** `de8387218c0b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/dns-records/delete.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
