Driftwatch

Cloudflare / Cloudflare API /

Breaking

include_subdomains changed type

What changed

Parse failure, or silent coercion depending on your client.

Affects GET /zones/{zone_id}/hold.

string → boolean

Who is affected

Code that reads GET /zones/{zone_id}/hold (result.include_subdomains).

Before and after

WhereBeforeAfter
GET /zones/{zone_id}/hold · result.include_subdomainsstringboolean
POST /zones/{zone_id}/hold · result.include_subdomainsstringboolean
DELETE /zones/{zone_id}/hold · result.include_subdomainsstringboolean
PATCH /zones/{zone_id}/hold · result.include_subdomainsstringboolean

Code that breaks

// payload.result.include_subdomains
// was: string
// now: boolean

Based on Cloudflare’s published API specification. How severity is decided.