# PATCH /zones/{zone_id}/settings stops working

Calls to PATCH /zones/{id}/settings on Cloudflare API stop working on March 31, 2027.

On March 31, 2027, Cloudflare will shut down the PATCH /zones/{id}/settings endpoint. This deprecation affects requests attempting to read and edit multiple zone settings in a single batch call. After this date, requests sent to PATCH /zones/{id}/settings will fail.

## What to use instead

Use PATCH /zones/{zone_id}/settings/{setting_id} instead.

- API: Cloudflare API (api.cloudflare.com)
- Kind: Endpoint removal
- Announced: July 27, 2026
- Takes effect: March 31, 2027
- Calls after that day: fail
- Calls it hits: `PATCH /zones/{id}/settings`
- 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-zones-zone-id-settings-stops-working/

## Cloudflare API's words

> The Zone Settings Batch API endpoints, which read and edit multiple zone settings in a single request, are deprecated and will reach their end of life on March 31, 2027.

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