Page tree
Skip to end of metadata
Go to start of metadata

To delete a record:

DELETE /dns_zones/:dns_zone_id/records/:record_id.xml
DELETE /dns_zones/:dns_zone_id/records/:record_id.json

XML Request example

*curl -i-X DELETE --url http://onapp.test/dns_zones/:dns_zone_id/records/:record_id.xml*
-u user:userpass 

JSON Request example

curl -X DELETE --url http://onapp.test/dns_zones/:dns_zone_id/record/:record_id.json -u user:userpass

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.


#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels