Cancel an activation
DELETE https://{{host}}/edgeworkers/v1/ids/:edgeWorkerId/activations/:activationId
Cancel a pending activation. You can cancel any activation whose status is still PENDING. After that you need to wait for the activation to complete and then deactivate it. Once the deactivation is complete you can then delete the EdgeWorker version.
Request Params
| Key | Datatype | Required | Description | 
|---|---|---|---|
| accountSwitchKey | string | (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. | 
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
| Accept | string | 
RESPONSES
status: OK
{"accountId":"A-CCT3456","activationId":3,"createdBy":"jsmith","createdTime":"2020-08-04T11:42:56Z","edgeWorkerId":42,"lastModifiedTime":"2020-08-04T12:00:03Z","network":"PRODUCTION","note":"Version 2 fixes an issue detected in production.","status":"CANCELLED","version":"2"}