WANT TO GROW YOUR ORGANIC SEARCH CHANNEL? SCHEDULE YOUR DEMO NOW.

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"
Frequently Asked Questions
  • The Purge All API endpoint allows Huckabuy's team to remove all content from Huckabuy's Edge Cache locations. This action ensures that visitors to the website will see the latest version of the content immediately after a purge.

  • The Purge All API endpoint does not remove URLs from Google's or other search engines' indexes. It also does not remove URLs from Huckabuy's own index of your website.

  • The Purge All API endpoint is useful in scenarios where an update has been deployed to multiple pages or the entire web server. Purging the cache will remove any old versions from Huckabuy's edge caches, making sure that visitors see the latest content immediately. This can be helpful in cases such as fixing a typo or deploying a hotfix for a CSS/JS error.

  • Endpoint URL: https://api.huckabuy.com/d/purge-all/{YOUR_WEBSITE} HTTP Method: GET Required Headers: X-Auth-Token: Your Team’s API Token (Example: DwZ05Ex2N8W34YqWkiKWgayk) Required URL Parameters: url: Website to Purge (Example: https://www.example.com/)

  • Sure! Here's an example CURL command: curl "https://api.huckabuy.com/d/purge-all/https://www.example.com" -H "X-Auth-Token: DwZ05Ex2N8W34YqWkiKWgayk"

  • After successfully purging the cache, the API will respond with a JSON object containing the following details: { "success": true, "message": "Successfully purged the Website: https://www.example.com" }