Pin an active revision

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

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

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(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.

Request Body

{"pinNote"=>"Disable dynamic activation during moratorium"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

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