Content Deletion

Methods: GET

http://[ZONE_STORAGE_ID]/api/v2/delete?zone_id=[ZONEID]&url=[URL]
Parameters
Field Type Description
zone_id integer CDN zone serving the content
url string Full URL to the file that shall be deleted, starting with http:// or https://. No trailing slash!
Headers
Field Type Description
APIKEY string Account API key
Example
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -H "APIKEY: 2d49e8f645d90818783c4e6c46f32ca0677dc555" -X GET "http://s02.pushrcdn.com/api/v2/delete?zone_id=000&url=https://c000z000.pushrcdn.com/images/image.jpg"
Response
HTTP Code JSON Description
200 {"status":"success"} The file has been deleted
401 {"status":"error","description":"error message"} Wrong API key or wrong/non-existing zone ID
520 {"status":"error","description":"error message"} Something went wrong. Please contact support

The file is permanently deleted from your storage but may still reside in our edge network's cache. Issue a purge request to clear the cache.