Cloudflare announced on January 23, 2026 that changing the type of an existing DNS record via the API is deprecated . End-of-life: June 30, 2026. After that date, a PATCH or PUT against /zones/{zone_id}/dns_records/{id} that flips a record's type field — A → CNAME , CNAME → A , TXT → MX — stops being supported. The deprecation page doesn't promise a specific error code, just that "attempts to change a record's type via update operations will no longer be supported." Read that as: today it works, July 1 it doesn't, and the failure shape (4xx? 200 with success: false ? silent partial?) won't be locked down until cutover. If you're in the 90% of teams using the official Cloudflare Terraform provider on a recent version, you're probably fine — the provider already tags type as RequiresReplace , so it does delete-then-create on the client side ( cloudflare/terraform-provider-cloudflare#6358 ).…