Logo
Akamai APIs API Documentation

Update a change

POST https://{{host}}/cps/v2/enrollments/:enrollmentId/changes/:changeId/input/update/:allowedInputTypeParam

Updates a pending change. Below is a sample where allowedInput[].type has the value third-party-cert-and-trust-chain. The acceptable Content-Type and Accept headers depends on the value of the allowedInput.type for the Change instance. See Change Input Content Type Mapping for details.

 

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

{ "change": "/cps/v2/enrollments/10002/changes/10002" }



Curl
curl -X POST 'https://undefined/cps/v2/enrollments/:enrollmentId/changes/:changeId/input/update/:allowedInputTypeParam?accountSwitchKey=' -H 'Content-Type: application/vnd.akamai.cps.acknowledgement-with-hash.v1+json' -H 'Accept: application/vnd.akamai.cps.change-id.v1+json' -d '{"acknowledgement":"acknowledge","hash":"24fb6fb91d290370c13a39e76afc1b26"}'

ENDPOINTS