# DELETE /dns/distribution/frozen

First published 12 Nov 2026 (release 0.2.28) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the dns group.

Delete frozen zones retained after leaving a DNS distribution network

- Who may call it: administrator
- Token scope, any of: dns, all
- Answers: 200 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

- [urbestack-dns-node-leave](https://urbestack.com/docs/commands/urbestack-dns-node-leave.md): Removes this server from its DNS distribution network and notifies the other nodes.

## Example

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
curl -sS -X DELETE "$API/dns/distribution/frozen" \
  -H "Authorization: Bearer $TOKEN"
```

Response, 200 OK:

```
{
  "deleted": 1,
  "zones": [
    "text"
  ]
}
```

## Errors

- 400: --as client or --as standalone is required
- 400: --delete-frozen stands alone
- 400: Domain name required
- 400: Domain name too long
- 400: Invalid IPv4 address
- 400: Invalid IPv6 address
- 400: Invalid domain name
- 400: Invalid port
- 400: Invalid setting key
- 400: Leaving says what this server becomes: a client of the network, or standalone
- 400: zones is keep or delete
- 401: Authentication required
- 402: This server has no licensed address on record yet: run urbestack-license-check first
- 404: Setting '<key>' not found
- 409: This server holds no frozen zones
- 409: This server is not a node of a distribution network
- 409: This 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
