Roll back to the previous active EdgeWorker version

POST https://{{host}}/edgeworkers/v1/ids/:edgeWorkerId/activations/rollback

Reactivate the EdgeWorker version that was previously active on the Akamai network, either staging or production.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(Optional) 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.

Request Body

{"network"=>"STAGING", "note"=>"An issue was detected in the latest active version."}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"accountId":"A-CCT3456","activationId":3,"createdBy":"jsmith","createdTime":"2020-04-05T18:17:46Z","edgeWorkerId":42,"lastModifiedTime":"2020-04-05T18:17:46Z","network":"PRODUCTION","note":"Version 2 fixes an issue detected in production.","status":"PRESUBMIT","version":"2"}