PUT /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}

Upload a worker module to a Workers for Platforms namespace. You can find more about the multipart metadata on our docs: https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/.

Servers

Path parameters

Name Type Required Description
script_name String Yes
account_id String Yes
dispatch_namespace String Yes

Query parameters

Name Type Required Description
bindings_inherit String No

When set to "strict", the upload will fail if any inherit type bindings cannot be resolved against the previous version of the script. Without this, unresolvable inherit bindings are silently dropped.

Valid values:

  • "strict"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.