Purge multiple zones at same time

Hello,

Is possible to purge multiple zones at same time with API endpoint?

In the for one zone, we use:

curl -X POST https://api.cloudflare.com/client/v4/zones/<xxxxzone1xxxx>/purge_cache -H 'Authorization: Bearer <xxxxbearerxxxx>' -H Content-Type:application/json --data '{"purge_everything":true}'

Thank you very much.

Zones are independent, so you’d have to make an API call for each zone.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.