Dispatch namespaces can no longer be renamed
changelog / Compute / Workers for Platforms / 2026/11/20 09:00 JST
Cloudflare の Workers for Platforms で、ディスパッチ名前空間(dispatch namespace)の名前変更ができなくなった。名前を変更すると、ディスパッチ Worker やアウトバウンド Worker がデプロイ時の名前を保持したままとなり、API リクエストの読み取り・デプロイ・削除が失敗する問題があったためだ。名前を変更しようとする PUT/PATCH リクエストはエラーコード 100413 で拒否される。別の名前を使いたい場合は、新しい名前空間を作成してユーザー Worker を再デプロイする必要がある。Workers for Platforms を使う開発者は、名前空間の命名を最初に慎重に決めておくことが大切だ。
出典サイトで原文を開く → 出典サイトの説明: Dispatch namespace names are now fixed at creation. To use a different name, create a new namespace and redeploy your user Workers.
You can no longer rename a dispatch namespace after creating it. Renaming a namespace could cause API requests to read, deploy, or delete Workers to fail because dispatch Workers and outbound Workers retained the namespace name they were deployed with. This change prevents those failures by rejecting rename requests. What changes: PUT and PATCH requests to the dispatch namespace API return a 400 error with code 100413 if they change name : Dispatch namespaces cannot be renamed. The name in the request must match the namespace’s current name. To use a different name, create a new dispatch namespace. wrangler dispatch-namespace rename returns the same 100413 error. Terraform applies that attempt to change name on a cloudflare_workers_for_platforms_dispatch_namespace resource fail. To move your Workers to a namespace with a different name: Create a new dispatch namespace with the name you want. Deploy your user Workers to the new namespace. Update the dispatch namespace binding in your dispatch Worker to reference the new namespace, then redeploy the dispatch Worker. Verify that requests are routed to the new namespace and your Workers work as expected. Delete the user Workers in the
出典: 公式ページ