Cloudflare Api tokens do not work

I have zone purge cache permission for api token, zone id, email i tripled check everything, but it doesn’t work. can anyone please help. There is simialr problem reported on stackoverflow too.

curl -X POST "[zone_id]/purge_cache" \                                                               
     -H "X-Auth-Email: [email protected]" \
     -H "X-Auth-Key: aaaaaaaaaaaaaaaa" \
     -H "Content-Type: application/json" \
     --data '{"purge_everything":true}'

This is the permission for token

What error do you receive? Did you try the suggested workaround on the :so: link you shared?

Assuming that you’re using an API token and not an API key, you should use the following instead:

curl -X POST "<ZONE_ID>/purge_cache" \
    -H "Authorization: Bearer <API_TOKEN>" \
    -H "Content-Type: application/json" \
    --data '{"purge_everything":true}'

Replace <API_TOKEN> and <ZONE_ID>.

Cloudflare API v4 Documentation