Help Center
Login Sign up
  1. Home
  2. API reference
  3. API documentation (JSON/XML)
  4. Tasks
  5. Zone tasks

Zone delete

API reference (XML/JSON) · Updated 2025-03-10

Function

The ZoneDelete task deletes a zone entry.

The keyword force_unused in the default block can be used to prevent deletion of zones that are still in use (XML only).

Description

Route:  /zone/{name}/{nameserver} or : /zone/{name}

No body has to be sent with the request.

DELETE/zone/{example.com}/{ns1.example.com}
{
   "stid": "20190701-app3-dev-11942",
   "status": {
      "code": "S0203",
      "text": "Zone was deleted successfully from the name server."
.",
      "type": "SUCCESS"
   },
   "object": {
      "type": "Zone",
      "value": "example.com"
   }
}