Skip to main content
POST
/
pullzone
/
{id}
/
purgeCache
Purge Cache
curl --request POST \
  --url https://api.bunny.net/pullzone/{id}/purgeCache \
  --header 'AccessKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "CacheTag": "<string>"
}
'

Authorizations

AccessKey
string
header
required

API Access Key authorization header

Path Parameters

id
integer<int64>
required

The ID of the Pull Zone that should be cleared

Body

CacheTag
string | null

Response

The cache was successfuly purged