What permissions are required for a Cloudflare API key to modify DNS records?

Responsive Ad Header

Question

Grade: Education Subject: Support
What permissions are required for a Cloudflare API key to modify DNS records?
Asked by:
77 Viewed 77 Answers

Answer (77)

Best Answer
(357)
To modify DNS records using the Cloudflare API, the API key needs both 'DNS Read' and 'DNS Write' permissions. You can assign these permissions when creating a new API token in the Cloudflare dashboard, under the 'DNS' section. Be mindful of the zone restrictions; if a key is zone-specific, it only grants permission to manage DNS for that particular zone.