Logo
Akamai APIs API Documentation

List versions

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

View a list of EdgeWorker versions.

 

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

{ "versions": [ { "accountId": "A-CCT9012", "checksum": "de9f2c7fd25e1b3afad3e85a0bd17d9b100db4b3", "createdBy": "jsmith", "createdTime": "2020-07-05T18:17:46Z", "edgeWorkerId": 42, "version": "1" }, { "accountId": "A-CCT7890", "checksum": "8277e0910d750195b448797616e091ad616e091a", "createdBy": "jsmith", "createdTime": "2020-07-05T23:01:34Z", "edgeWorkerId": 42, "version": "2" } ] }



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

ENDPOINTS