Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to enable Route for default workers.dev when deploying Workers Script via API - Cloudflare Developers
CD
Cloudflare Developers
•
2y ago
•
4 replies
Mistletoe
How to enable Route for default workers.dev when deploying Workers Script via API
I am considering deploying Workers Script using the API in the link below
.
https://developers.cloudflare.com/api/operations/worker-script-upload-worker-module
The deployment itself is successful
, but when I check Settings
>Triggers
>Routes of the deployed Script
,
[subdomain
]
.workers
.dev
, which is normally set up
& enabled automatically
, is disabled
.
https://developers.cloudflare.com/workers/configuration/routing/routes/#routes-with-workersdev
I would like to use workers
.dev Routes even when deployed by Script via API
.
I would like to know how to enable
“workers
.dev
" Routes via API or if there is another more appropriate policy
.
Cloudflare API Documentation
Interact with Cloudflare
's products and services via the Cloudflare API
Cloudflare Docs
Routes · Cloudflare Workers docs
Routes allow users to map a URL pattern to a Worker
. When a request comes in to the Cloudflare network that matches the specified URL pattern
, your
…
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Workers creation for static site via API
CD
Cloudflare Developers / general-help
8mo ago
How to disable default wrangler logs for workers?
CD
Cloudflare Developers / general-help
10mo ago
r2 enable public access via api
CD
Cloudflare Developers / general-help
2y ago
How to Update route of a specific worker via API
CD
Cloudflare Developers / general-help
8mo ago