Get your free beta license ↗
API operation · dns group
DELETE

/dns/distribution/frozen

First published 12 Nov 20260.2.28Unchanged since publication

Delete frozen zones retained after leaving a DNS distribution network

Who may call it
AdministratorResellerCustomer
Token scope, any of
dnsall
Answers200 OK

Call as an administrator with a token that has the dns scope once the nameserver name this server previously answered for points to the node that took it over. Deleting the frozen zones earlier leaves queries still sent to this server unanswered.

The operation returns 409 if there are no frozen zones. A 200 response includes the number of zones deleted in deleted and the list of deleted zones in zones.

As a command

Run as root on the server

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X DELETE "$API/dns/distribution/frozen" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "deleted": 1,
  "zones": [
    "text"
  ]
}

Errors

17 errors, each a status and a sentence
400--as client or --as standalone is required
400--delete-frozen stands alone
400Domain name required
400Domain name too long
400Invalid IPv4 address
400Invalid IPv6 address
400Invalid domain name
400Invalid port
400Invalid setting key
400Leaving says what this server becomes: a client of the network, or standalone
400zones is keep or delete
401Authentication required
402This server has no licensed address on record yet: run urbestack-license-check first
404Setting '<key>' not found
409This server holds no frozen zones
409This server is not a node of a distribution network
409This server is the only node of its network, so there is no network to leave. To go back to standalone, stop the network once it has no clients
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.2.28 on 12 Nov 2026.
urbestack.com/docs/api/delete-dns-distribution-frozen/