Cache purge

Purge content from the CDN edge cache.

Endpoint

https://www.pushrcdn.com/api/v3/purge

Methods

POST

Parameters

FieldTypeDescription
zone_idintegerCDN zone serving the content
urlstringFull URL to the file that shall be purged, starting with http:// or https://. No trailing slash!

Headers 

FieldTypeDescription
APIKEYstringYour account API key

Examples

Purge the file "image.jpg" :

curl -d "zone_id=000" \ 
-d "url=https://c000z000.r-cdn.com/image/image.jpg"
-H "Accept: application/json" \
-H "APIKEY: 2d49e8f645d90818783c4e6c46f32ca0677ac401" \ 
-X POST "https://www.pushrcdn.com/api/v2/purge"

Response

HTTPJSONDescription
200{"status":"success"}Purged
401{"status":"error","description":"msg"}Wrong API key or zone ID