Logo
Akamai APIs API Documentation

Unpin an active revision

POST https://{{host}}/edgeworkers/v1/ids/:edgeWorkerId/revisions/:revisionId/unpin

Beta Enable dynamic activation for an EdgeWorker revision on Akamai's staging or production network. To learn more about Flexible Composition, refer to the EdgeWorkers guide.

 

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 
Content-Type
string
Accept
string




RESPONSES

status OK

{ "accountId": "A-CCT1234", "activationId": 5, "checksum": "70f76db1a24a40fb194f69ef3d5d557abb11cd88f7fce035a1d21385daf50b6d", "createdTime": "2023-07-13T19:20:01Z", "edgeWorkerId": 42, "lastModifiedTime": "2023-08-14T17:20:09Z", "network": "STAGING", "pinNote": "Disable dynamic activation during moratorium", "pinnedBy": "jsmith", "pinnedTime": "2023-08-14T17:17:43Z", "revisionActivatedBy": "jsmith", "revisionActivatedTime": "2023-08-14T17:17:43Z", "revisionActivationStatus": "COMPLETE", "revisionId": "5-1", "unpinNote": "Unpin to re-enable dynamic activation", "unpinnedBy": "jsmith", "unpinnedTime": "2023-08-14T18:09:13Z", "version": "0.4" }

Curl
curl -X POST 'https://host/edgeworkers/v1/ids/:edgeWorkerId/revisions/:revisionId/unpin?accountSwitchKey=' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"unpinNote":"Unpin to re-enable dynamic activation"}'

ENDPOINTS