Skip to main content
POST
/
purge
Purge URL
curl --request POST \
  --url https://api.bunny.net/purge \
  --header 'AccessKey: <api-key>'

Authorizations

AccessKey
string
header
required

API Access Key authorization header

Query Parameters

url
string

The URL that will be purged from cache.

async
boolean
default:false

(Optional) Determines if the call should wait for the purge logic to complete

Response

The purge request was successfully processed.