Logo
Akamai APIs API Documentation

Clone an EdgeWorker ID

POST https://{{host}}/edgeworkers/v1/ids/:edgeWorkerId/clone

Clone an EdgeWorker ID to change the resource tier.

 

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 Created

{ "accountId": "A-CCT3456", "createdBy": "jsmith", "createdTime": "2020-10-15T14:49:40Z", "description": "Clone of EdgeWorker ID 42", "edgeWorkerId": 43, "groupId": 32145, "lastModifiedBy": "jsmith", "lastModifiedTime": "2020-10-15T15:21:15Z", "name": "Ew_42", "resourceTierId": 100, "sourceEdgeWorkerId": 42 }



Curl
curl -X POST 'https://host/edgeworkers/v1/ids/:edgeWorkerId/clone?accountSwitchKey=' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"description":"Clone of EdgeWorker ID 42","groupId":54321,"name":"Ew_42","resourceTierId":200}'

ENDPOINTS