The Purge All API endpoint gives your team the ability to purge all content from Huckabuy’s Edge Cache locations. 

It will NOT:

Example Use-cases

If you’ve recently deployed an update to multiple pages or your entire web server and require that visitors see the latest version immediately, purging the cache will remove any old versions from our edge-caches. This can be useful if you found a typo or deployed a hotfix for a CSS/JS error.

API Details

Endpoint URL:

https://api.huckabuy.com/d/purge-all/{YOUR_WEBSITE}

HTTP Method:

GET 

Required Headers:

Name /typeDescription /example
X-Auth-Token
string
Your Team’s API TokenDwZ05Ex2N8W34YqWkiKWgayk

Required URL Parameters:

Name /typeDescription /example
url
string
Website to Purgehttps://www.example.com/

cURL (example)

curl "https://api.huckabuy.com/d/purge-all/https://www.example.com" \     -H "X-Auth-Token: DwZ05Ex2N8W34YqWkiKWgayk"

Response (example)

{
"success": true,
"message": "Successfully purged the Website: https://www.example.com"