Purge_cache api use question


i use api cache pages file.
curl -X DELETE “https://api.cloudflare.com/client/v4/zones/023e105f4ecef8ad9ca31a8372d0c353/purge_cache” -H “X-Auth-Email:[redacted]” -H “X-Auth-Key:???” -H “Content-Type: application/json” --data ‘{“files”:[“https://kirabuy.com/modules/system/assets/css/framework.extras.css"],“tags”:[“some-tag”,"another-tag”]}’

show questsion:
{“success”:false,“errors”:[{“code”:1095,“message”:“Sorry, you do not have access to purge cache for that zone id or that zone id is invalid”}],“messages”:[],“result”:null}

How should we solve this problem

please help me, Thanks


X-auth-key is my intentional modification, sorry


Purging is by URL or by tag. Purge by tag is only available on the ENT plan I believe so try dropping this portion: “tags”:[“some-tag”,"another-tag”]}’


thanks your help.

but i have a new problem.
plz look the image:

and i thank use Python way use the api。
Do you have any reference information


can you help me ?


it’s ok,
thank you