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

/dns/clients/{address}

First published 21 Oct 20260.2.13Unchanged since publication

Remove a DNS distribution client or node

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

Removal 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 server

Parameters

zonesquery ·string, one of delete, hand, keep
toquery ·string
IPv4 address of the registered client that receives the zones. Required when zones=hand.

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X DELETE "$API/dns/clients/{address}?zones=delete&to=text" \
  -H "Authorization: Bearer $TOKEN"
Response · 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 sentence
400--address is required
400Handing the zones needs the client to hand them to
400Invalid IPv4 address
400The zones cannot be handed to <c.address> itself
400When a node removes a client, its zones must be deleted or transferred to another client
400zones is delete, hand or, for a node, keep
401Authentication required
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.13 on 21 Oct 2026.
urbestack.com/docs/api/delete-dns-clients-address/