Support

Delete DNS records by type and name

View as Markdown

Deletes all DNS records matching the specified type and name.

Full description

Deletes all DNS records matching the specified type and name. All other records are preserved. Returns 204 No Content.

DELETE
/v1/domains/{domain}/records/{type}/{name}

Authorization

bearerAuth
AuthorizationBearer <token>

Personal Access Token (PAT). Generate one from the developer dashboard. Pass as: Authorization: Bearer .

In: header

Path Parameters

domain*string

Domain whose DNS Records are to be deleted

type*string

DNS Record Type for which DNS Records are to be deleted

Value in

  • "A"
  • "AAAA"
  • "CAA"
  • "CNAME"
  • "MX"
  • "SRV"
  • "TXT"
name*string

DNS Record Name for which DNS Records are to be deleted

Header Parameters

X-Shopper-Id?string

Shopper ID which owns the domain. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account.

Response Body

curl -X DELETE "https://example.com/v1/domains/string/records/A/string"
Empty

Agent & Automation Notes

Scopesdomains.domain:read, domains.domain:create, domains.domain:delete, domains.domain:update, domains.contact:update, domains.dns:update, domains.transfer:execute
Rate limit60 req/min per credential
On failureGET operations are safe to retry. PUT/PATCH DNS are idempotent by shape. POST purchase is NOT idempotent — verify state before retrying.

Last updated on

How is this guide?