API operation · dns group
POST
/dns/zones/{name}/reset
First published 3 Oct 2026
0.1.0Unchanged since publicationReset a DNS zone
Who may call it
AdministratorResellerCustomer
Token scope, any of
dnsallAnswers200 OK
UrbeStack replaces the zone's records with records from the zone template, excluding records for subdomains and delegations to other zones from the reset. A server zone has no template and retains only the server's records.
The 200 response includes the zone, the numbers of records removed and restored, the records, and the publication outcome.
As a command
Run as root on the serverParameters
namepath ·DomainNameRequiredExample
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X POST "$API/dns/zones/example.com/reset" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"published": true,
"records": [
{
"content": "text",
"created_at": "2026-09-09T10:15:00Z",
"id": 1,
"managed_key": "text",
"name": "alice",
"origin": "yours",
"priority": 1,
"server": true,
"system": true,
"ttl": 1,
"type": "A"
}
],
"reload": "text",
"removed": 1,
"restored": 1,
"zone": "text"
}Errors
6 errors, each a status and a sentence400--zone is required400Domain name required400Domain name too long400Invalid domain name401Authentication required404Zone '<name>' not foundNo error of this operation matches.
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/api/post-dns-zones-name-reset/