My authorization code for cloudflre purge

I want to integrate the Cloudflare purge in my Drupal and it’s asking me for a Zone ID and Authorization.

I grabbed the Zone ID on the overview page but do not seem to find anything related to the Authorization.

Where can I find the Authorization to configure the Cloudflare purge?

The Authorization is probably the Global API Key:


I just tried using my global API key but the log still throws a “400 Bad Request” message.

Maybe it’s an API Token?


Quite possibly. If it’s not asking for the Cloudflare account email address, then they would have to generate an appropriate token.

1 Like

Thanks @matteo and @sdayman
I realized that I should not use the API key, but create an actual token.