Logo
Akamai APIs API Documentation

List deactivations

GET https://{{host}}/edgeworkers/v1/ids/:edgeWorkerId/deactivations

View the list of deactivations for an existing EdgeWorker. You can limit the results to a specific version.

 

Body PARAM

Key Datatype Required Description 
version
string (Optional) Unique identifier for a specific EdgeWorker version.
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

{ "deactivations": [ { "accountId": "A-CCT7890", "createdBy": "hgildong", "createdTime": "2020-07-09T09:03:28Z", "deactivationId": 3, "edgeWorkerId": 42, "lastModifiedTime": "2020-07-09T09:04:42Z", "network": "PRODUCTION", "note": "EdgeWorker ID 42 is no longer used in production.", "status": "PENDING", "version": "2" }, { "accountId": "A-CCT3456", "createdBy": "jsmith", "createdTime": "2020-07-09T08:13:54Z", "deactivationId": 1, "edgeWorkerId": 42, "lastModifiedTime": "2020-07-09T08:35:02Z", "network": "STAGING", "status": "IN_PROGRESS", "version": "1" }, { "accountId": "A-CCT5678", "createdBy": "jperez", "createdTime": "2020-07-10T14:23:42Z", "deactivationId": 2, "edgeWorkerId": 42, "lastModifiedTime": "2020-07-10T14:53:25Z", "network": "PRODUCTION", "status": "COMPLETE", "version": "2" } ] }

Curl
curl -X GET 'https://host/edgeworkers/v1/ids/:edgeWorkerId/deactivations?version=&accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS