API operation · dns group
DELETE
/dns/zones/{name}/taken
First published 16 Oct 2026
0.2.6Unchanged since publicationReturn control of a DNS record set to UrbeStack
Who may call it
AdministratorResellerCustomer
Token scope, any of
dnsallAnswers200 OK
UrbeStack removes the administrator's records for the specified name and type and generates the set again from the current server settings. The 200 response includes the zone, name, type, number of records removed, and publication outcome.
As a command
Run as root on the serverParameters
namepath ·DomainNameRequirednamequery ·string, up to 200 charactersRequiredRecord name relative to the zone, or @ for the apex.
typequery ·string, one of A, AAAA, CNAME, MX, TXT, SRV, CAA, NSRequiredExample
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X DELETE "$API/dns/zones/example.com/taken?name=alice&type=A" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"name": "alice",
"published": true,
"reload": "text",
"removed": 1,
"type": "rebuild",
"zone": "text"
}Errors
12 errors, each a status and a sentence400--<o> is required400Domain name required400Domain name too long400Invalid domain name400Invalid record name400Record name required400Record name too long400Record type must be one of 400The panel writes no <type> record at <name> in <zone.name>; it is yours already401Authentication required404The <type> records at <name> in <zone.name> are not taken over; the panel writes them already404Zone '<name>' not foundNo 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.6 on 16 Oct 2026.
urbestack.com/docs/api/delete-dns-zones-name-taken/