Create services by API

Is it possible to create services ( Worker + environment variables, configure KV, ... ) by HTTP request?
2 Replies
Chaika
Chaika7mo ago
Yes, in fact, the dashboard itself uses the same endpoints as the public api (although some products use undocumented ones). Sadly the documentation is kind of rough, espec for worker uploads, but it's all possible https://developers.cloudflare.com/api/operations/workers-kv-namespace-create-a-namespace https://developers.cloudflare.com/api/operations/worker-script-upload-worker-module?schema_url=https%3A%2F%2Fraw.githubusercontent.com%2Fcloudflare%2Fapi-schemas%2Fmain%2Fopenapi.yaml
Cloudflare API Documentation
Interact with Cloudflare's products and services via the Cloudflare API
Cloudflare API Documentation
Interact with Cloudflare's products and services via the Cloudflare API
Jonathan Silva
Jonathan SilvaOP7mo ago
PERFECT ! 😍
Want results from more Discord servers?
Add your server