MailMasker API
Claude Code
Domains and DNS

Delete a DNS record

DELETE/api/v1/domains/:domain/dns/records

Who can use this: Site adminsAs Markdown

Deletes the whole record set for that name and type. They go in the body, as when creating a record.

Parameters

NameWhereWhat it is
domain required path The domain whose zone it is in.e.g. example.com
name required body The record's full name. A final dot is optional.e.g. www.example.com
type required body The record type in capitals.e.g. A

Good to know

  • A domain that isn't listed answers 404.