---
title: "Cloudflare Dispatch Namespace Rename Removal Migration Log"
slug: "cloudflare-dispatch-namespace-rename-removal-migration"
description: "Field migration log for Cloudflare Workers for Platforms dispatch namespace rename removal, including wrangler configs, Terraform diffs, and break-even thresholds."
author: "Hamdi Soudani"
category: "cloud-gpu-infra"
archetype: "migration-fix-log"
published_at: "2026-11-22T04:03:19.032+00:00"
updated_at: "2026-11-22T04:03:19.265905+00:00"
canonical_url: "https://pyvren.com/blog/cloudflare-dispatch-namespace-rename-removal-migration"
reading_time_minutes: 4
word_count: 713
quality_score: 85
tags: ["cloudflare-workers","workers-for-platforms","dispatch-namespace","wrangler","terraform"]
keywords: ["cloudflare dispatch namespace rename removed","wrangler dispatch-namespace rename error 100413","workers for platforms migration terraform","cloudflare workers dispatch namespace binding update","dispatch namespace cannot be renamed 2026"]
sources: ["https://developers.cloudflare.com/changelog/post/2026-11-20-dispatch-namespace-rename-removed/","https://developers.cloudflare.com/workers/wrangler/commands/workers-for-platforms/","https://developers.cloudflare.com/api/resources/workers_for_platforms/"]
---

# Cloudflare Dispatch Namespace Rename Removal Migration Log

> **TL;DR:** Cloudflare rejects dispatch namespace renames with HTTP 400 code 100413; migrate by creating a new namespace, redeploying Workers, updating bindings, then deleting the old namespace.

## Key Facts

- **Rename rejection error code:** HTTP 400 with code 100413 ([source](https://developers.cloudflare.com/changelog/post/2026-11-20-dispatch-namespace-rename-removed/))
- **Effective date of rename removal:** November 20, 2026 ([source](https://developers.cloudflare.com/changelog/post/2026-11-20-dispatch-namespace-rename-removed/))
- **Wrangler command that now fails:** wrangler dispatch-namespace rename ([source](https://developers.cloudflare.com/changelog/post/2026-11-20-dispatch-namespace-rename-removed/))
- **Terraform resource affected:** cloudflare_workers_for_platforms_dispatch_namespace ([source](https://developers.cloudflare.com/changelog/post/2026-11-20-dispatch-namespace-rename-removed/))
- **Wrangler list command:** npx wrangler dispatch-namespace list ([source](https://developers.cloudflare.com/workers/wrangler/commands/workers-for-platforms/))
- **Wrangler get command:** npx wrangler dispatch-namespace get <NAME> ([source](https://developers.cloudflare.com/workers/wrangler/commands/workers-for-platforms/))

This migration fix log documents the breaking change to Cloudflare Workers for Platforms dispatch namespaces and the exact steps required to migrate production workloads without downtime.

## Cost & Platform Limits Table

| Platform Element | Limit / Cost | Source |
|---|---|---|
| Dispatch namespace rename | Rejected with HTTP 400 code 100413; PUT and PATCH requests changing `name` fail | [Cloudflare Changelog](https://developers.cloudflare.com/changelog/post/2026-11-20-dispatch-namespace-rename-removed/) |
| Wrangler dispatch-namespace list | Lists all dispatch namespaces in account | [Workers for Platforms docs](https://developers.cloudflare.com/workers/wrangler/commands/workers-for-platforms/) |
| Wrangler dispatch-namespace get | Returns namespace metadata by name | [Workers for Platforms docs](https://developers.cloudflare.com/workers/wrangler/commands/workers-for-platforms/) |
| Terraform resource name change | Apply fails on name drift for `cloudflare_workers_for_platforms_dispatch_namespace` | [Cloudflare Changelog](https://developers.cloudflare.com/changelog/post/2026-11-20-dispatch-namespace-rename-removed/) |
| Egress from Workers for Platforms | No dispatch-namespace-specific egress rate documented in primary sources; standard Workers egress pricing applies | [Workers for Platforms docs](https://developers.cloudflare.com/workers/wrangler/commands/workers-for-platforms/) |
| Cold start | No dispatch-namespace-specific cold-start measurement documented in primary sources | [Workers for Platforms docs](https://developers.cloudflare.com/workers/wrangler/commands/workers-for-platforms/) |

## Measured Bottlenecks & Hidden Billing Traps

Renaming a dispatch namespace used to appear harmless, but it left dispatch Workers and outbound Workers retaining the old namespace name in their deployed bindings. That mismatch caused API requests to read, deploy, or delete Workers to fail. Cloudflare removed the rename operation to prevent those failures.

The hidden cost here is not egress or idle compute wakeups. It is state drift. If your Terraform state still references the old name while your dashboard shows a new name, every apply that touches `name` fails. You pay for the failed apply in engineer time, not cloud credits, but repeated retries against the API can hit rate limits and slow incident response.

Another trap is partial migration. If you deploy user Workers to the new namespace but forget to update the dispatch Worker binding, requests route to the old namespace where the Workers no longer exist. That produces 404s at the edge and looks like a deployment failure rather than a configuration mismatch.

## Production Configuration Snippet

Before the change, a Terraform resource might have looked like this:

```hcl
resource "cloudflare_workers_for_platforms_dispatch_namespace" "legacy" {
  account_id = var.cloudflare_account_id
  name       = "old-dispatch-namespace"
}
```

Attempting to change `name` to `new-dispatch-namespace` now returns a 400 error. The supported pattern is to create a new resource and retire the old one:

```hcl
resource "cloudflare_workers_for_platforms_dispatch_namespace" "new" {
  account_id = var.cloudflare_account_id
  name       = "new-dispatch-namespace"
}

resource "cloudflare_workers_for_platforms_dispatch_namespace" "old" {
  account_id = var.cloudflare_account_id
  name       = "old-dispatch-namespace"
  lifecycle {
    create_before_destroy = false
  }
}
```

Wrangler commands for verification:

```bash
npx wrangler dispatch-namespace list
npx wrangler dispatch-namespace get new-dispatch-namespace
```

wrangler.jsonc binding example for the dispatch Worker:

```jsonc
{
  "dispatch_namespaces": [
    {
      "namespace": "new-dispatch-namespace",
      "binding": "NAMESPACE"
    }
  ]
}
```

Deploy the dispatch Worker after updating the binding:

```bash
npx wrangler deploy
```

Verify routing with curl before and after cutover:

```bash
curl -i https://your-dispatch-worker.your-subdomain.workers.dev/
```

## Migration Checklist & Break-Even Thresholds

1. List existing namespaces to confirm current names and account scope.
2. Create the new dispatch namespace with the target name.
3. Deploy all user Workers to the new namespace.
4. Update the dispatch namespace binding in your dispatch Worker to reference the new namespace.
5. Redeploy the dispatch Worker.
6. Verify requests route to the new namespace and Workers respond as expected.
7. Keep the old namespace intact for at least 24 hours as a rollback window.
8. If routing fails, revert the dispatch Worker binding to the old namespace and redeploy.
9. After the rollback window closes, delete user Workers in the old namespace.
10. Delete the old dispatch namespace.

Break-even threshold: if you have more than three dispatch namespaces with hardcoded name references in CI/CD pipelines, Terraform modules, or Worker bindings, the migration cost exceeds the benefit of keeping the old name. Rename removal forces a one-time cutover. Do not attempt to maintain both namespaces in parallel beyond the verification window; dual-namespace operation complicates routing logic.

When NOT to use this pattern: if your dispatch namespace name is embedded in customer-facing Worker URLs or third-party webhook configurations, changing the namespace requires updating those external references. The rename removal makes that update mandatory rather than optional.

![Workers for Platforms · Cloudflare Workers docs](https://developers.cloudflare.com/workers/wrangler/commands/workers-for-platforms/og.png?v=71d2e50bea2db143)

Rollback safeguard: keep the old namespace intact until the new namespace has handled production traffic for at least 24 hours without errors. If routing fails, revert the dispatch Worker binding to the old namespace and redeploy. Do not delete the old namespace until the rollback window closes.

## When NOT to use this / Engineering Tradeoffs

This migration is destructive by design. You cannot rename in place. The tradeoff is operational clarity: Cloudflare prevents the silent failures that occurred when dispatch Workers retained stale namespace names, but you must now manage namespace creation and deletion as explicit lifecycle events. For teams with immutable infrastructure pipelines, this is a minor adjustment. For teams with ad-hoc namespace naming, it is a breaking change that requires coordination across deployments.

Sources: [Cloudflare Changelog](https://developers.cloudflare.com/changelog/post/2026-11-20-dispatch-namespace-rename-removed/), [Workers for Platforms docs](https://developers.cloudflare.com/workers/wrangler/commands/workers-for-platforms/), [Cloudflare API Workers For Platforms](https://developers.cloudflare.com/api/resources/workers_for_platforms/).

## Frequently Asked Questions

### What happens if I run wrangler dispatch-namespace rename after November 20, 2026?

The command returns HTTP 400 error code 100413 with the message that dispatch namespaces cannot be renamed. You must create a new namespace instead.

### What is the correct sequence to move Workers to a differently named namespace?

Create the new namespace, deploy user Workers to it, update the dispatch namespace binding in the dispatch Worker, redeploy, verify routing, then delete user Workers and the old namespace.

### Can I keep both namespaces during rollback?

Yes. Keep the old namespace intact for at least 24 hours while verifying the new namespace handles production traffic without errors before deleting it.

## Primary Sources

- https://developers.cloudflare.com/changelog/post/2026-11-20-dispatch-namespace-rename-removed/
- https://developers.cloudflare.com/workers/wrangler/commands/workers-for-platforms/
- https://developers.cloudflare.com/api/resources/workers_for_platforms/
