Cache Clear Webhook Endpoint

Overview

This endpoint clears the entire cache for your WAF instance. It is designed to be used as a webhook triggered by your deployment pipeline or CI/CD system so that cached content is refreshed after each deploy.

For clearing a single cached file by path, see the Cache Invalidation endpoint.

POST /clear/:api_key

Clears all cached content for the WAF instance associated with the provided API key. Also accepts GET requests for compatibility with simple webhook integrations.

Required Parameters

  • api_key - your API Key (passed as part of the URL path)

Request Format

POST /clear/YOUR-API-KEY

Successful Response - HTTP 200 - application/json
{
	"domain": "example.com",
	"success": true,
	"message": "Cache Cleared Request Initiated"
}
Failed Response - HTTP 403 - application/json
{
	"success": false,
	"message": "Bad API Key Value"
}
Curl Formatted Example

curl -X POST https://api.expeditedsecurity.com/clear/YOUR-API-KEY

API Help

We’re happy to help you build whatever functionality you need with the API.

Please don’t hesitate to :

We are a team of developers and sysadmins who can help troubleshoot and debug whatever API interactions you need to create.