Get certificate history
GET https://{{host}}/cps/v2/enrollments/:enrollmentId/history/certificates
View the certificate history.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
accountSwitchKey | string | (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. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"certificates":[{"deploymentStatus":"inactive","geography":"core","multiStackedCertificates":[{"certificate":"-----BEGIN CERTIFICATE-----\nMIID ... \u003csample - removed for readability\u003e .... Bp52w=\n-----END CERTIFICATE-----","expiry":"2022-02-15T06:05:33Z","keyAlgorithm":"RSA","trustChain":"-----BEGIN CERTIFICATE-----\nMIID ... \u003csample - removed for readability\u003e .... 7gf0=\n-----END CERTIFICATE-----"}],"primaryCertificate":{"certificate":"-----BEGIN CERTIFICATE-----\nMIID ... \u003csample - removed for readability\u003e .... 9t0G\n-----END CERTIFICATE-----","expiry":"2022-02-15T06:05:32Z","keyAlgorithm":"ECDSA","trustChain":"-----BEGIN CERTIFICATE-----\nMIIDT ... \u003csample - removed for readability\u003e .... okCk=\n-----END CERTIFICATE-----"},"ra":"third-party","slots":[],"stagingStatus":"inactive","type":"third-party"},{"deploymentStatus":"active","geography":"core","multiStackedCertificates":[{"certificate":"-----BEGIN CERTIFICATE-----\nMIID ... \u003csample - removed for readability\u003e .... Mweq/\n-----END CERTIFICATE-----","expiry":"2022-02-05T13:21:20Z","keyAlgorithm":"RSA","trustChain":"-----BEGIN CERTIFICATE-----\nMIID ... \u003csample - removed for readability\u003e .... KEUp0=\n-----END CERTIFICATE-----"}],"primaryCertificate":{"certificate":"-----BEGIN CERTIFICATE-----\nMIID ... \u003csample - removed for readability\u003e .... J9JQs/v0=\n-----END CERTIFICATE-----","expiry":"2022-02-05T13:21:21Z","keyAlgorithm":"ECDSA","trustChain":"-----BEGIN CERTIFICATE-----\nMIID ... \u003csample - removed for readability\u003e .... KEUp0=\n-----END CERTIFICATE-----"},"ra":"third-party","slots":[19598],"stagingStatus":"active","type":"third-party"}]}