Delete a Record

Use this API call to delete a record.

Requires the dns-manage permission.

Returns

Returns a of record resource (the one you just deleted), otherwise returns an Error.

DELETE /v1/dns/zones/{ID}/records/{ID}

Example Request
$ curl https://api.cycle.io/v1/dns/zones/5cb964ed4fde4d0001d05cc7/records/6e43de0a78ecdb000129b8ec \
-H
"Authorization: Bearer API_KEY"
\
-H
"X-HUB-ID: HUB_ID"
\
-X DELETE
Example Response
{
"data": {
"id": "6e43de0a78ecdb000129b8ec",
"hub_id": "5cc78aa0db2ab000014a8b98",
"creator": {
"type": "account",
"id": "5cc78aa0db2ab000014a8b98"
},
"zone_id": "5cc78aa0db2ab000014a8b98",
"name": "@",
"resolved_domain": "domain.com",
"type": {
"linked": {
"container_id": "6e43de0a78ecdb000129b8ec",
"features": {
"tls": {
"enable": true
}
}
}
},
"features": {
"certificate": {
"id": "5cc78aa0db2ab000014a8b98",
"generated": "2019-05-27T22:09:50.393Z",
"wildcard_child": true
}
},
"state": {
"changed": "2019-05-27T22:09:50.393Z",
"current": "live"
},
"events": {
"created": "2019-05-27T22:09:50.375Z",
"updated": "0001-01-01T00:00:00Z",
"deleted": "0001-01-01T00:00:00Z"
}
}
}