Get a certificate
GET https://{{host}}/hapi/v1/dns-zones/:dnsZone/edge-hostnames/:recordName/certificate
Get the certificate associated with an enhanced TLS edge hostname.
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
{"availableDomains":["live.example.com","secure.example.com","www.example.com"],"certificateId":"1234","certificateType":"SAN","commonName":"example.com","expirationDate":"2019-10-31T23:59:59Z","serialNumber":"2001:db8:9095:1a17:5143:3eb9:fa93:a1a5","slotNumber":8927,"status":"PENDING","validationType":"DOMAIN_VALIDATION"}