/dns/clients/{address}
0.2.13Unchanged since publicationRemove a DNS distribution client or node
dnsallRemoval revokes the server's key, and UrbeStack sends the removal to the other nodes. The default, zones=delete, deletes all zones held here for that server and rebuilds the DNS data. Use zones=hand with to=ADDRESS to transfer all its zones to a different registered client, such as the server to which all its sites moved. The transferred zones continue serving their existing records until the recipient pushes them. An unsupported zones value returns 400.
Use this operation to remove a node that cannot leave on its own. It stops being a node immediately, and its key is revoked on every node. The first remaining node takes over its nameserver names, and the corresponding DNS records are updated to point to that node. Update the corresponding host records at the registrar. Clients stop sending to the removed node within an hour. If it is still running, it learns of the removal on its next call and freezes its copies of the network's zones.
For node removal, zones=keep retains the zones the node last sent under a client entry with a revoked key. You can delete or transfer them later. For seven days, calls to the distribution API using the revoked key receive 403 with the removal reason. The response identifies the removed server and affected zones, gives the number of zones deleted, identifies the recipient for a transfer and reports the DNS update result.
As a command
Run as root on the serverParameters
zonesquery ·string, one of delete, hand, keeptoquery ·stringExample
See the API overview for how to set $API and $TOKEN.curl -sS -X DELETE "$API/dns/clients/{address}?zones=delete&to=text" \
-H "Authorization: Bearer $TOKEN"200 OK{
"client": {
"address": "info@example.com",
"also_nameservers": [
"text"
],
"created_at": "2026-09-09T10:15:00Z",
"created_by": "text",
"created_on": "text",
"disconnected_at": "text",
"hostname": "server.example.com",
"ipv4": "text",
"ipv6": "text",
"joined_at": "text",
"joining_as": "text",
"label": "my laptop",
"last_error": "text",
"last_seen_at": "text",
"nameserver": "text",
"node": true,
"port": 8443,
"zones": 1
},
"deleted": 1,
"dns": {},
"handed_to": "text",
"zones": [
"text"
]
}Errors
7 errors, each a status and a sentence400--address is required400Handing the zones needs the client to hand them to400Invalid IPv4 address400The zones cannot be handed to <c.address> itself400When a node removes a client, its zones must be deleted or transferred to another client400zones is delete, hand or, for a node, keep401Authentication requiredurbestack.com/docs/api/delete-dns-clients-address/