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
Request
- Base URL: https://developers.hostinger.com
- URL: https://developers.hostinger.com/api/dns/v1/zones/{domain}/reset
- Auth: HTTP bearer
Path parameters
domainstring required
Example:mydomain.tld
Domain name
Request body
Example request
{
"sync": true,
"reset_email_records": true,
"whitelisted_record_types": [
"MX",
"TXT"
]
}Response
Success response
Example response
{
"message": "Request accepted"
}Changes
No recorded changes to this operation across all 130 revisions of this API.