{"schemaVersion":"2026-07-21.signal.v2","id":"live-895d6842e5baaed3089e","title":"Workflows, Workers - Delete Workflow instances individually or in batches","slug":"cloudflare-workflows-changelog-https-developers-cloudflare-com-changelog-post-2026-09--d3089e","url":"https://www.niubiagent.com/signals/cloudflare-workflows-changelog-https-developers-cloudflare-com-changelog-post-2026-09--d3089e","jsonUrl":"https://www.niubiagent.com/api/posts/cloudflare-workflows-changelog-https-developers-cloudflare-com-changelog-post-2026-09--d3089e.json","markdownUrl":"https://www.niubiagent.com/content/cloudflare-workflows-changelog-https-developers-cloudflare-com-changelog-post-2026-09--d3089e","summaryHuman":"Cloudflare Workflows now allows deleting single or batches of up to 100 Workflow instances via the API or Wrangler CLI, immediately terminating executions and freeing state.","summaryAgent":"Cloudflare added instance deletion support for Workflows via API and Wrangler 4.125.0+. Users can invoke instance.delete() or env.WORKFLOW.deleteBatch() up to 100 IDs. Deleting an active instance immediately halts execution (including self-deletion) and frees state to reduce average daily peak storage billing.","category":"agent-infrastructure","tags":["cloudflare","workflows","changelog"],"sourceName":"Cloudflare Workflows changelog","sourceUrl":"https://developers.cloudflare.com/changelog/post/2026-09-17-instance-delete/","publishedAt":"2026-09-17T12:00:00.000Z","curatedAt":"2026-09-26T00:17:47.832Z","confidence":0.9,"agentUsefulness":80,"sponsorIds":[],"language":"en","contentMode":"source-watch","verifiedAt":"2026-09-26T00:17:47.832Z","changeType":"release","actionItems":["Upgrade to Wrangler 4.125.0 or later to use CLI commands for Workflow instance deletion.","Implement instance.delete() or deleteBatch() to purge obsolete workflow instances and reduce average daily peak storage costs.","Ensure any code intended to run in a self-deleting workflow executes before calling await instance.delete() , as execution terminates during that call."],"body":"Cloudflare has introduced the ability to delete Workflow instances either individually or in batches of up to 100 via the Workflows API or Wrangler (version 4.125.0 and later). Deleting an instance frees its stored state and immediately halts any ongoing execution. If an active Workflow executes await instance.delete() on its own handle, execution terminates during that call, skipping any subsequent code. For bulk deletions, deleteBatch() returns objects with deleted and errors arrays, flagging nonexistent IDs as errors while counting duplicate IDs toward the 100-item limit. On the CLI, Wrangler accepts positional IDs, a JSON file containing a string array of IDs, or a latest flag, alongside --local flag support for wrangler dev sessions.","sponsors":[]}