Get an edge hostname by DNS zone and record name

GET https://{{host}}/hapi/v1/dns-zones/:dnsZone/edge-hostnames/:recordName

Retrieve the full record for a single edge hostname as specified by its DNS zone and record name to view its details such product ID, IP version behavior, China CDN status, or Edge IP Binding status.

Request Params

KeyDatatypeRequiredDescription
includeMappingBehaviorsstring(Optional) Whether to include edge hostnames' mapping behaviors in the response, false by default.
accountSwitchKeystring(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

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"comments":"Created for example.com","dnsZone":"edgekey.net","edgeHostnameId":1,"ipVersionBehavior":"IPV6_IPV4_DUALSTACK","isSecure":true,"map":"e;dscb.akamaiedge.net","mappingBehaviors":[{"options":[{"optionName":"optIn","optionValue":["United States"]}],"behaviorName":"deliveryPolicy"}],"productId":"DSD","recordName":"www.example.com","slotNumber":11838,"ttl":21600,"useCases":[{"option":"BACKGROUND","type":"GLOBAL","useCase":"Download_Mode"}],"useDefaultMap":true,"useDefaultTtl":true}