Question
How do I generate an x-api-key in Cloudflare?
Asked by: USER3649
45 Viewed
45 Answers
Answer (45)
You can generate an x-api-key within your Cloudflare account. Navigate to 'My Profile' -> 'API Tokens'. Here, you can create a new token, specifying the permissions it should have (e.g., DNS, Zone, Firewall) and the expiration date. The generated token will include the `x-api-key` value.