Zero Trust Tunnel API Route, Connection and List Migrations
What changes when tunnel list APIs, route endpoints, connection fields, and cloudflared builds retire, and how to migrate before each deadline.
This page summarises Cloudflare documentation on upcoming Zero Trust Networks API and Cloudflare Tunnel API behaviour, plus related cloudflared removals. Most material applies if you automate private network routes, poll tunnel health over the API, list tunnels or routes in Terraform or custom scripts, or still run legacy cloudflared commands or builds.
Upcoming API and client changes at a glance
Section titled “Upcoming API and client changes at a glance”Four independently timed changes affect the same operators: default list results (December 2025), cloudflared proxy-dns removal (February 2026), route path and connections field retirement (October 2026), and 32-bit Windows / Intel macOS cloudflared build deprecation (from 2027). A longer tail of Zero Trust deprecations (devices, Access application fields, Gateway audit_ssh, and others) lives on the central deprecations reference—this page goes deep on tunnel and network list behaviour only.
| Change | Effective date | Who must act |
|---|---|---|
is_deleted default on tunnel/network list endpoints |
December 1, 2025 | Jobs that expect deleted tunnels, routes, subnets, or virtual networks in list responses |
cloudflared proxy-dns removed from new releases |
February 2, 2026 | Anyone using the undocumented client-side DoH proxy command |
CIDR-encoded route URLs removed; connections dropped from tunnel GET/list |
October 5, 2026 | API/Terraform/dashboard code using old route paths or connections on cfd_tunnel / warp_connector |
| No new cloudflared builds for 32-bit Windows or Intel macOS | From 2027 | Hosts still on those architectures |
For narrative detail and curl examples, see the dedicated changelog posts linked in each section below and the Cloudflare Tunnel changelog.
is_deleted on list endpoints: deleted tunnels and routes hidden by default
Section titled “is_deleted on list endpoints: deleted tunnels and routes hidden by default”Starting December 1, 2025, list endpoints for the Cloudflare Tunnel API and Zero Trust Networks API return only active tunnels, routes, subnets, and virtual networks unless you pass is_deleted explicitly.
Starting December 1, 2025, list endpoints for the Cloudflare Tunnel API and Zero Trust Networks API will no longer return deleted tunnels, routes, subnets and virtual networks by default. This change makes the API behavior more intuitive by only returning active resources unless otherwise specified.
— Cloudflare, Cloudflare Tunnel and Networks API will no longer return deleted resources by default starting December 1, 2025
Which list endpoints change when is_deleted is omitted
Section titled “Which list endpoints change when is_deleted is omitted”Omitting is_deleted after the change date no longer mixes active and deleted rows. Affected operations include:
GET /accounts/{account_id}/tunnelsGET /accounts/{account_id}/cfd_tunnelGET /accounts/{account_id}/warp_connectorGET /accounts/{account_id}/teamnet/routesGET /accounts/{account_id}/zerotrust/subnetsGET /accounts/{account_id}/teamnet/virtual_networks
No update is required if you already send is_deleted=false or only care about active resources.
| Scenario | Before December 1, 2025 | From December 1, 2025 |
|---|---|---|
is_deleted omitted |
Active and deleted resources | Active only |
| Need deleted only | (same ambiguity) | is_deleted=true |
| Need complete inventory | Often one call | Two calls: active (omit or false) and deleted (true) |
Following this change, retrieving a complete list of both active and deleted resources will require two separate API calls: one to get active items (by omitting the parameter or using is_deleted=false) and one to get deleted items (is_deleted=true).
— Cloudflare, Cloudflare Tunnel and Networks API will no longer return deleted resources by default starting December 1, 2025
Common mistakes after the is_deleted default flips
Section titled “Common mistakes after the is_deleted default flips”- Cleanup scripts that listed tunnels and assumed every returned ID was active may skip reconciling soft-deleted resources unless they add
is_deleted=true. - Drift detection that compared API lists to live infrastructure may show false “missing” deleted objects that used to appear in the same payload.
- Pagination: smaller default result sets improve performance for typical list calls; full historical audits need an explicit second request.
Zero Trust route endpoints: migrate from CIDR paths to route_id
Section titled “Zero Trust route endpoints: migrate from CIDR paths to route_id”On October 5, 2026, CIDR-encoded route endpoints are removed in favour of route_id-based URLs already available today. Deprecation date is July 9, 2026; end of life is October 5, 2026.
The CIDR-encoded route endpoints are deprecated in favor of the standard, route_id-based endpoints that already exist today.
— Cloudflare, API deprecations
Deprecated versus replacement route HTTP paths
Section titled “Deprecated versus replacement route HTTP paths”| Action | Deprecated path pattern | Replacement |
|---|---|---|
| Create route | POST …/teamnet/routes/network/{ip_network_encoded} |
POST …/teamnet/routes |
| Update route | PATCH …/teamnet/routes/network/{ip_network_encoded} |
PATCH …/teamnet/routes/{route_id} |
| Delete route | DELETE …/teamnet/routes/network/{ip_network_encoded} |
DELETE …/teamnet/routes/{route_id} |
A single way to identify a route. Consolidating on route_id removes the need to URL-encode CIDR ranges into the path and matches how every other resource in the Zero Trust Networks API is addressed.
— Cloudflare, Zero Trust Networks route endpoints and Cloudflare Tunnel connections field retiring on October 5, 2026
Store route_id from create/list responses instead of deriving paths from encoded CIDR strings. For migration notes including Terraform, see the API deprecations entry (it references the Cloudflare Tunnel changelog for full guidance).
Cloudflare Tunnel connections field: use the dedicated connections endpoint
Section titled “Cloudflare Tunnel connections field: use the dedicated connections endpoint”On the same October 5, 2026 date, the connections array is removed from list and get responses for Cloudflare Tunnel and Cloudflare Mesh nodes (cfd_tunnel and warp_connector resources).
On October 5, 2026, two changes take effect across the Zero Trust Networks API and Cloudflare Tunnel API: the CIDR-encoded route endpoints are removed, and tunnel list and get responses no longer include the connections field.
— Cloudflare, Zero Trust Networks route endpoints and Cloudflare Tunnel connections field retiring on October 5, 2026
Affected calls:
GET /accounts/{account_id}/cfd_tunnelandGET …/cfd_tunnel/{tunnel_id}GET /accounts/{account_id}/warp_connectorandGET …/warp_connector/{tunnel_id}
Replacements:
GET /accounts/{account_id}/cfd_tunnel/{tunnel_id}/connectionsGET /accounts/{account_id}/warp_connector/{tunnel_id}/connections
Fetch connection details from the tunnel-specific connections endpoint instead of parsing it off the list or get response.
— Cloudflare, Zero Trust Networks route endpoints and Cloudflare Tunnel connections field retiring on October 5, 2026
Example pattern from the changelog:
# Before: read connections off the tunnel objectcurl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/cfd_tunnel/$TUNNEL_ID \ -H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"
# After: query connections directlycurl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/cfd_tunnel/$TUNNEL_ID/connections \ -H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"Smaller, faster responses. Cloudflare Tunnel and Cloudflare Mesh nodes with many connections no longer inflate every list and get call — connection detail is only fetched when you need it.
— Cloudflare, Zero Trust Networks route endpoints and Cloudflare Tunnel connections field retiring on October 5, 2026
cloudflared proxy-dns removal and supported platforms
Section titled “cloudflared proxy-dns removal and supported platforms”proxy-dns command removed from new releases (February 2, 2026)
Section titled “proxy-dns command removed from new releases (February 2, 2026)”From February 2, 2026, new cloudflared releases drop the proxy-dns command (a client-side DNS-over-HTTPS proxy). The change targets a vulnerability in an underlying DNS library specific to that command; core Cloudflare Tunnel service is unaffected.
Starting February 2, 2026, the cloudflared proxy-dns command will be removed from all new cloudflared releases.
— Cloudflare, cloudflared proxy-dns command will be removed starting February 2, 2026
Older cloudflared binaries released before that date keep working, but Cloudflare’s support policy for any single release is one year from its release date (see Downloads).
We strongly advise users of this undocumented feature to migrate to one of the following officially supported solutions before February 2, 2026, to continue benefiting from secure DNS-over-HTTPS.
— Cloudflare, cloudflared proxy-dns command will be removed starting February 2, 2026
The changelog points to officially supported products for DoH; plan migration before upgrading cloudflared past that cutover.
32-bit Windows and Intel-based macOS builds (from 2027)
Section titled “32-bit Windows and Intel-based macOS builds (from 2027)”Starting in 2027, Cloudflare stops publishing new cloudflared builds for 32-bit Windows and Intel-based macOS. Existing binaries may continue to run until they fall outside the one-year support window.
Starting in 2027, Cloudflare will deprecate 32-bit Windows and Intel-based macOS builds of cloudflared. After the deprecation takes effect, Cloudflare will no longer publish new cloudflared releases for either architecture.
— Cloudflare, cloudflared to deprecate 32-bit Windows and Intel-based macOS builds in 2027
For current artifacts and platform support, use Downloads and Update cloudflared guidance linked there.
Related Zero Trust API deprecations (reference only)
Section titled “Related Zero Trust API deprecations (reference only)”The API deprecations page lists additional timelines—for example Gateway Audit SSH rules (end of life July 15, 2026; replacement SSH with Access for Infrastructure), the Devices versus Registrations model (November 11, 2025), Access self_hosted_domains in favour of destinations, and legacy Argo Tunnel URLs in favour of the Cloudflare Tunnel API. Treat that page as the authoritative schedule when your integration touches those resources; tunnel-only operators can ignore entries outside their stack.
How to check this on your site
Section titled “How to check this on your site”-
Search repositories and runbooks for
teamnet/routes/network/,connectionsparsing oncfd_tunnelorwarp_connectorresponses, and list calls withoutis_deletedwhere you still need deleted rows. Cross-check deadlines in the tunnel routes and connections changelog and list default changelog. -
Call a affected list endpoint (for example
GET …/cfd_tunnel) with your API token and confirm whether deleted resources appear only when you passis_deleted=true, per Cloudflare Tunnel and Networks API will no longer return deleted resources by default starting December 1, 2025. -
For each tunnel you monitor, compare
GET …/cfd_tunnel/{tunnel_id}withGET …/cfd_tunnel/{tunnel_id}/connectionsand update automation to use the connections URL, following Zero Trust Networks route endpoints and Cloudflare Tunnel connections field retiring on October 5, 2026. -
Inventory cloudflared versions and commands: confirm you are not relying on
proxy-dnsbefore upgrading past February 2, 2026, and confirm platform support via Downloads and the architecture deprecation notice. -
You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page does not match your integration or the linked Cloudflare docs, email yimasynthetic@gmail.com with the page URL and the exact statement you want clarified.