cURL
curl --request POST \ --url https://api.bunny.net/pullzone/{id}/purgeCache \ --header 'AccessKey: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "CacheTag": "<string>" } '
API Access Key authorization header
The ID of the Pull Zone that should be cleared
The cache was successfuly purged
Was this page helpful?
Contact support