Question
What permissions are required for a Cloudflare API key to modify DNS records?
Asked by: USER8174
77 Viewed
77 Answers
Answer (77)
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.