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

/dns/zones/{name}/taken

First published 16 Oct 20260.2.6Unchanged since publication

Return control of a DNS record set to UrbeStack

Who may call it
AdministratorResellerCustomer
Token scope, any of
dnsall
Answers200 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 server

Parameters

namepath ·DomainNameRequired
namequery ·string, up to 200 charactersRequired
Record name relative to the zone, or @ for the apex.
typequery ·string, one of A, AAAA, CNAME, MX, TXT, SRV, CAA, NSRequired

Example

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 sentence
400--<o> is required
400Domain name required
400Domain name too long
400Invalid domain name
400Invalid record name
400Record name required
400Record name too long
400Record type must be one of
400The panel writes no <type> record at <name> in <zone.name>; it is yours already
401Authentication required
404The <type> records at <name> in <zone.name> are not taken over; the panel writes them already
404Zone '<name>' not found
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/