v52

OpenAPI 3.0.0raw.githubusercontent.com2026-08-03269339953.6 KB
DNS: Zone

Reset DNS records

Reset DNS zone to the default records.

Use this endpoint to restore domain DNS to original configuration.

post/api/dns/v1/zones/{domain}/reset

Path parameters

domainstring required
Example:mydomain.tld

Domain name

Request body

syncboolean

Determines if operation should be run synchronously

reset_email_recordsboolean

Determines if email records should be reset

whitelisted_record_typesstring[]

Specifies which record types to not reset

Example request

{
  "sync": true,
  "reset_email_records": true,
  "whitelisted_record_types": [
    "MX",
    "TXT"
  ]
}

Response

Success response

messagestring

Example response

{
  "message": "Request accepted"
}