Delete HTTP Caching Rule

Use the following request to delete an HTTP caching rule:

DELETE /cdn_resources/:cdn_resource_id/http_caching_rules/:rule_id.xml
DELETE /cdn_resources/:cdn_resource_id/http_caching_rules/:rule_id.json

XML Request example

curl -i -X DELETE -u user:userpass -H 'Accept: application/xml' --url 'http://onapp.test/cdn_resources/:cdn_resource_id/http_caching_rules/:rule_id.xml' 

JSON Request example

curl -i -X DELETE -u user:userpass -H 'Accept: application/json' --url 'http://onapp.test/cdn_resources/:cdn_resource_id/http_caching_rules/:rule_id.json'