What is the difference between a Cloudflare API token and a global API key?

Question

Grade: Education Subject: Support
What is the difference between a Cloudflare API token and a global API key?
Asked by:
75 Viewed 75 Answers

Answer (75)

Best Answer
(348)
A Cloudflare API token allows you to define specific permissions and scopes, making it more secure than a global API key. A global API key grants access to all Cloudflare resources associated with your account and offers limited control over its permissions. It is best practice to use API tokens instead of the global API key for security reasons.