Create a new version

Create a new version of an EdgeWorker. In order to run this operation you need to build an EdgeWorkers code bundle and save it in GZIP format. You need to provide the GZIP binary file in the request body, with a Content-Type of application/gzip.

Path Params
integer
required
≥ 1

Unique identifier for an EdgeWorker.

Query Params
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

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json