Logo
Akamai APIs API Documentation

Get change history

GET https://{{host}}/cps/v2/enrollments/:enrollmentId/history/changes

Change history of an enrollment.

 

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

{ "changes": [ { "action": "renew", "actionDescription": "Renew Certificate", "businessCaseId": "5005B00000XYZA1234", "createdBy": "mrossi", "createdOn": "2021-05-09T19:26:59Z", "lastUpdated": "2021-06-12T12:56:55Z", "multiStackedCertificates": [ { "certificate": "-----BEGIN CERTIFICATE-----\nMIIDu ... <sample - removed for readability> .... 3JpAg==\n-----END CERTIFICATE-----", "csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIIC2 ... <sample - removed for readability> .... mdnsaw=\n-----END CERTIFICATE REQUEST-----", "keyAlgorithm": "ECDSA", "trustChain": "-----BEGIN CERTIFICATE-----\nMIIDzD ... <sample - removed for readability> .... F3+fA==\n-----END CERTIFICATE-----" } ], "primaryCertificate": { "certificate": "-----BEGIN CERTIFICATE-----\nMIIFH ... <sample - removed for readability> .... b+kIw==\n-----END CERTIFICATE-----", "csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIIC2 ... <sample - removed for readability> .... mdnsaw=\n-----END CERTIFICATE REQUEST-----", "keyAlgorithm": "RSA", "trustChain": "-----BEGIN CERTIFICATE-----\nMIIEdj ... <sample - removed for readability> .... oqzb5Ct\n-----END CERTIFICATE-----" }, "primaryCertificateOrderDetails": { "orderId": "abcdefM6Gw3WvN2p12345" }, "ra": "symantec", "status": "completed" }, { "action": "renew", "actionDescription": "Renew Certificate", "businessCaseId": "5005B00000DEFG1234", "createdBy": "szhang", "createdOn": "2021-02-02T18:21:17Z", "lastUpdated": "2021-02-05T19:57:14Z", "multiStackedCertificates": [ { "certificate": null, "csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIIC2 ... <sample - removed for readability> .... mdnsaw=\n-----END CERTIFICATE REQUEST-----", "keyAlgorithm": "ECDSA", "trustChain": null } ], "primaryCertificate": { "certificate": "-----BEGIN CERTIFICATE-----\nMIIFH ... <sample - removed for readability> .... b+kIw==\n-----END CERTIFICATE-----", "csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIIC2 ... <sample - removed for readability> .... mdnsaw=\n-----END CERTIFICATE REQUEST-----", "keyAlgorithm": "RSA", "trustChain": "-----BEGIN CERTIFICATE-----\nMIIEdj ... <sample - removed for readability> .... oqzb5Ct\n-----END CERTIFICATE-----" }, "primaryCertificateOrderDetails": { "orderId": "abcdeHvg8F7caXW312345" }, "ra": "symantec", "status": "cancelled" }, { "action": "renew", "actionDescription": "Renew Certificate", "businessCaseId": null, "createdBy": "jperez", "createdOn": "2021-02-01T17:16:35Z", "lastUpdated": null, "multiStackedCertificates": [], "primaryCertificate": null, "primaryCertificateOrderDetails": null, "ra": "symantec", "status": "cancelled" }, { "action": "new-certificate", "actionDescription": "Create New Certificate", "businessCaseId": "5005B00000ABCD1234", "createdBy": "szhang", "createdOn": "2021-02-01T16:30:58Z", "lastUpdated": "2021-02-01T17:16:37Z", "multiStackedCertificates": [ { "certificate": "-----BEGIN CERTIFICATE-----\nMIIDu ... <sample - removed for readability> .... 3JpAg==\n-----END CERTIFICATE-----", "csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIIC2 ... <sample - removed for readability> .... mdnsaw=\n-----END CERTIFICATE REQUEST-----", "keyAlgorithm": "ECDSA", "trustChain": "-----BEGIN CERTIFICATE-----\nMIIDzD ... <sample - removed for readability> .... F3+fA==\n-----END CERTIFICATE-----" } ], "primaryCertificate": { "certificate": "-----BEGIN CERTIFICATE-----\nMIIFH ... <sample - removed for readability> .... b+kIw==\n-----END CERTIFICATE-----", "csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIIC2 ... <sample - removed for readability> .... mdnsaw=\n-----END CERTIFICATE REQUEST-----", "keyAlgorithm": "RSA", "trustChain": "-----BEGIN CERTIFICATE-----\nMIIEdj ... <sample - removed for readability> .... oqzb5Ct\n-----END CERTIFICATE-----" }, "primaryCertificateOrderDetails": { "orderId": "abcdex7zh8wspr4m12345" }, "ra": "symantec", "status": "completed" } ] }



Curl
curl -X GET 'https://undefined/cps/v2/enrollments/:enrollmentId/history/changes?accountSwitchKey=' -H 'Accept: application/vnd.akamai.cps.change-history.v5+json'

ENDPOINTS