PURGE WEBSITE
The Purge All API endpoint gives your team the ability to purge all content from Huckabuy’s Edge Cache locations.
It will NOT:
- Remove URLs from Google’s (or other search-engines’) Index
- Remove URLs from Huckabuy’s own index of your website
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 /type | Description /example |
X-Auth-Token string | Your Team’s API Token DwZ05Ex2N8W34YqWkiKWgayk |
Required URL Parameters:
Name /type | Description /example |
url string | Website to Purge https://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" }