# PATCH /accounts/{account_id}/teamnet/routes/network/{ip_network_encoded} stops working

Calls to PATCH /accounts/{id}/teamnet/routes/network/{id} on Cloudflare API stopped working on October 5, 2026.

Cloudflare API removed PATCH /accounts/{id}/teamnet/routes/network/{id} on October 5, 2026. Calls sent to this endpoint fail since that date. The change impacts any integration that still targets routes by encoded IP network rather than route ID.

## What to use instead

Use PATCH /accounts/{account_id}/teamnet/routes/{route_id} instead.

- API: Cloudflare API (api.cloudflare.com)
- Kind: Endpoint removal
- Announced: July 9, 2026
- Takes effect: October 5, 2026
- Calls after that day: fail
- Calls it hits: `PATCH /accounts/{id}/teamnet/routes/network/{id}`
- Source: [Changelog](https://developers.cloudflare.com/fundamentals/api/reference/deprecations/index.xml)
- Verified: November 6, 2026, against Cloudflare API's own pages
- Page: https://www.okapi.bot/providers/cloudflare/breaking-changes/patch-accounts-account-id-teamnet-routes-network-ip-network-encoded-stops/

## Cloudflare API's words

> PATCH /accounts/{account_id}/teamnet/routes/network/{ip_network_encoded}

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
