DNS Management via the API

Record and Zone Deletion

Deleting DNS Zones and Records

The deletion of DNS Zones and Records is very similar to reading zone and record information. The only difference is that the DELETE HTTP method is used instead of GET.

Deleting a Zone

Verb: DELETE
Action: /api/dns/v1/domains/
Parameters: (none)
Returns: JSON response (as documented below).

Deleting a Record

Verb: DELETE
Action: /api/dns/v1/domains//
Parameters: (none)
Returns: JSON response (as documented below).

JSON Response

The JSON response simply indicates a true/false result for the zone or record deletion.

{
    "result": "true"
}

Creating and Updating DNS Zones and Records