Okapi Okapi

Cloudflare · Behaviour change

new_classes on PUT /client/v4/accounts/{}/workers/scripts/{} stops working

Stopped working

Calls to PUT /client/v4/accounts/{}/workers/scripts/{}, body parameter new_classes on Cloudflare stopped working on July 9, 2026.

What to use instead of these calls

Create Durable Object classes with a new_sqlite_classes migration instead of new_classes.

Calls it hits

  • PUT /client/v4/accounts/{}/workers/scripts/{}
  • body parameter new_classes

Facts

API
Cloudflare api.cloudflare.com
Kind
Behaviour change
Announced
July 9, 2026
Takes effect
July 9, 2026
Calls after that day
Fail
Source
Announcement
Last updated

Know before your API calls break.

Okapi finds the calls a breaking change hits in your code and opens the pull request that fixes them.

Add to GitHub