---
title: "Delete DNS records"
method: DELETE
path: "/domains/dnsRecord"
tags: ["Domain DNS"]
---

# Delete DNS records

`DELETE /domains/dnsRecord`

## Request

- Base URL: `https://api.short.io`
- URL: `https://api.short.io/domains/dnsRecord`
- Auth: API key in header `Authorization`

Deletes DNS records of the given name and type. Omit `value` to remove every matching record.

## Query parameters

- `hostname` string, fqdn, required
- `name` string, required
- `type` 'MX' | 'TXT', required
- `value` string

## Response `200`

Default Response

---

[API](https://skmtc.dev/short/apis/short-io-api-2.md) · [All operations](https://skmtc.dev/short/apis/short-io-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/short/apis/short-io-api-2/revisions/9e4e60c560b1?raw)
