Logo
Akamai APIs API Documentation

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.

 

Body PARAM

Key Datatype Required Description 
accountSwitchKey
string (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-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" }



Curl
curl -X DELETE 'https://host/edgeworkers/v1/ids/:edgeWorkerId/activations/:activationId?accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS