API operation · dns group
DELETE
/dns/distribution/nameservers/{name}
First published 12 Nov 2026
0.2.28Unchanged since publicationRemove a nameserver from the DNS distribution network
Who may call it
AdministratorResellerCustomer
Token scope, any of
dnsallAnswers200 OK
Call as an administrator with a token that has the dns scope on any node. Wait until all domains have stopped using the nameserver at their registrars. UrbeStack removes it from the network's nameserver list and every zone's NS records, and notifies the other nodes.
The operation returns 409 if removal would leave a node without a nameserver. A 200 response includes name, dropped set to true, the resulting nameservers and nodes, and the notification results in told.
As a command
Run as root on the serverParameters
namepath ·stringRequiredExample
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X DELETE "$API/dns/distribution/nameservers/alice" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"dropped": true,
"name": "alice",
"nameservers": [
"text"
],
"nodes": [
{
"address": "info@example.com",
"hostname": "server.example.com",
"ipv4": "text",
"ipv6": "text",
"nameservers": [
"text"
],
"port": 8443
}
],
"told": [
{
"done": true,
"error": "Domain 'example.com' already exists",
"host": "text",
"kind": "profile",
"node": "text",
"subject": "text"
}
]
}Errors
16 errors, each a status and a sentence400--name is required400Domain name required400Domain name too long400Invalid IPv4 address400Invalid IPv6 address400Invalid domain name400Invalid port400Invalid setting key400Moving a nameserver needs the node it goes to, or say that it is dropped400Say what becomes of the nameserver: --to ADDRESS, or --drop400The nameserver name is needed401Authentication required404<name> is not one of this network's nameservers404Setting '<key>' not found409<name> is already answered by the node at <to>409This server is not a node of a distribution network. Its own nameservers are set on DNS zones › Nameservers & addressesNo 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.2.28 on 12 Nov 2026.
urbestack.com/docs/api/delete-dns-distribution-nameservers-name/