Download EdgeWorker code

Retrieve the script bundle in .tgz form for the specified sandboxId and edgeWorkerId. This operation downloads only the bundle that was uploaded to your sandbox using the PUT command. It doesn't fetch the original bundle from the EdgeWorkers environment. To learn more about EdgeWorkers, refer to the EdgeWorkers API.

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.

Response
200

Successful operation.

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