Hi, how and where can we add request to CloudFlare API to clear cache for file after user delete it from Cheve.
Request to API:
https://www.cloudflare.com/docs/client-api.html#s4.5
Request to API:
Code:
curl https://www.cloudflare.com/api_json.html \
-d 'a=zone_file_purge' \
-d 'tkn=8afbe6dea02407989af4dd4c97bb6e25' \
-d 'email=sample@example.com' \
-d 'z=example.com' \
-d 'url=http://www.example.com/path/to/image.xyz'