November 23, 2026 · Cloudflare
Workers for Platforms, Workers - Grant access to Workers in specific dispatch namespaces
What changed
Workers for Platforms namespace roles: Four roles grant members, User Groups and API tokens access to specific dispatch namespaces.
You can now grant members, User Groups, and API tokens access to the Workers in specific dispatch namespaces. Previously, managing Workers in a namespace required account-wide Workers access. Now you can create a token that deploys Workers to one namespace without giving it access to Workers in other namespaces or elsewhere in your account.
Choose from four roles to control the level of access:
- Workers Namespace Metadata Read-Only: View Workers, settings, and bindings in the namespace. Excludes script code and secrets.
- Workers Namespace Content Read-Only: Everything in Metadata Read-Only, plus script code and secret names.
- Workers Namespace Editor: Create, update, deploy, and delete Workers in the namespace, including their code, settings, and secrets. Cannot view, update, or delete the namespace itself.
- Workers Namespace Admin: Everything in Editor, plus the ability to view, update, and delete the namespace itself.
A namespace role applies to every current and future Worker in the selected namespaces, and only to those Workers. Unlike the Workers Editor role, Workers Namespace Editor can create and delete Workers, so use it for teammates who deploy Workers and for CI/CD tokens. For example, scope your staging pipeline's token to the staging namespace so it cannot deploy to production.
Namespace roles are available today for all Workers for Platforms customers. You can configure them in the Cloudflare dashboard or through the API.
Grant access to members and User Groups
In the Cloudflare dashboard, go to the Members page and select a member. Add a permission policy, set the scope to Individual Namespaces, then select the namespaces and a Workers Namespace role.
Go to Members ↗To give several people the same access, assign the policy to a User Group instead of each member individually.
Create a scoped API token
Go to the Account API Tokens page and create an account-owned API token. Set the scope to Specified Namespaces.
Go to Account API tokens ↗Then select the namespaces the token can access and choose a Workers Namespace role.
For more information, refer to Workers for Platforms roles and permissions.
Free. Unsubscribe any time.