Upload EdgeWorker code

Add a script bundle for a given edgeWorkerId to the specified sandboxId. This operation doesn't affect the EdgeWorkers environment. You introduce changes only in your Sandbox environment.

Path Params
integer
required

Unique identifier for the EdgeWorker.

string
required

Unique identifier for the sandbox.

Query Params
string
enum
Defaults to USER

Enum The access level of the request. Either the default USER value to perform the request for the sandboxes that you can access, or ACCOUNT to perform the request for all sandboxes within the account.

Allowed:
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params
Response
201

The resource was created.

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!