Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Children Display
alltrue
styleh3
pageSuperb Cloud API

DELETE /dns_zones/:dns_zone_id/records/:record_id

Deletes a DNS record

Sections:

Table of Contents
maxLevel4
minLevel2
includeResponse.*|JSON.*|XML.*|Explanation.*

Response Parameters

Info

You will get a 204 status response on success, and 404 if there is no DNS record with a requested ID or you entered incorrect URL.

JSON Request example

Code Block
languagebash
themeRDark
 curl -i-X DELETE --url http://mycp.superb.net/api/dns_zones/:dns_zone_id/records/:record_id -u user:userpass

XML Request example

Code Block
languagebash
themeRDark
 curl -X DELETE --url http://mycp.superb.net/api/dns_zones/:dns_zone_id/record/:record_id.xml -u user:userpass