API operation · dns group
DELETE
/dns/zones/{name}/records/{id}
First published 3 Oct 2026
0.1.0Unchanged since publicationDelete a record from a DNS zone
Who may call it
AdministratorResellerCustomer
Token scope, any of
dnsallAnswers200 OK
Administrators can delete records by ID from any zone, including delegation records and server-generated IP address and mail records for the web interface hostname. Deleting a server-generated record transfers control of its entire record set to the administrator.
The 200 response includes the zone, the record ID, deleted set to true, and the publication outcome.
As a command
Run as root on the serverParameters
namepath ·DomainNameRequiredidpath ·integerRequiredExample
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X DELETE "$API/dns/zones/example.com/records/1" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"deleted": true,
"id": 1,
"published": true,
"reload": "text",
"zone": "text"
}Errors
8 errors, each a status and a sentence400--<o> is required400Domain name required400Domain name too long400Invalid domain name400Invalid id401Authentication required403That record belongs to the server404Zone '<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.1.0 on 3 Oct 2026.
urbestack.com/docs/api/delete-dns-zones-name-records-id/