Logo
Akamai APIs API Documentation

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.

 

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

{ "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" }



Curl
curl -X GET 'https://undefined/hapi/v1/dns-zones/:dnsZone/edge-hostnames/:recordName/certificate?accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS