GET /zones/:zone_id/settings/cname_flattening → endpoint removal
Stopped working
On June 8, 2025, Cloudflare removed the GET /zones/:zone_id/settings/cname_flattening endpoint. Requests sent to this endpoint after this date fail.
Calls it hits
GET /zones/:zone_id/settings/cname_flattening
What to use instead of these calls
Use Show DNS Settings instead.
In Cloudflare API's words
GET /zones/:zone_id/settings/cname_flattening
Facts
- API
- Cloudflare API
api.cloudflare.com - Kind
- Endpoint removal
- Announced
- June 8, 2025
- Takes effect
- June 8, 2025
- Calls after that day
- Fail
- Source
- Changelog
- Last updated
- Verified
- , against Cloudflare API's own pages
Questions
When does this change take effect?
Calls to GET /zones/:zone_id/settings/cname_flattening on Cloudflare API stopped working on June 8, 2025.
What happens to calls after June 8, 2025?
They have failed since June 8, 2025.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
More from Cloudflare API 6
-
GET /zones/:zone_id/firewall/waf/packages/:package_id/rules/:rule_idEndpoint removal Stopped working -
GET /radar/attacks/layer3/top/industryEndpoint removal Stopped working -
GET /radar/attacks/layer3/top/verticalEndpoint removal Stopped working -
GET /radar/attacks/layer7/top/industryEndpoint removal Stopped working -
GET /radar/attacks/layer7/top/verticalEndpoint removal Stopped working -
GET /zones/{}/amp/sxgEndpoint removal Stopped working
You fixed this one by hand.
Okapi opens the pull request with the fix before the next breaking change reaches your code.