Logo
Akamai APIs API Documentation

List authoritative name servers

GET https://{{host}}/config-dns/v2/data/authorities

Retrieves the currently assigned Akamai authoritative name servers for one or more contracts.

 

Body PARAM

Key Datatype Required Description 
contractIds
string (Optional) Show only the authoritative name servers for the specified contracts.
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

{ "contracts": [ { "authorities": [ "a1-118.akam.net.", "a2-64.akam.net.", "a6-66.akam.net.", "a18-67.akam.net.", "a7-64.akam.net.", "a11-64.akam.net." ], "contractId": "K-0N7RAK71" }, { "authorities": [ "a1-112.akam.net.", "a4-67.akam.net.", "a14-66.akam.net.", "a16-65.akam.net.", "a9-66.akam.net.", "a7-67.akam.net." ], "contractId": "C-0N7RAC71" } ] }



Curl
curl -X GET 'https://undefined/config-dns/v2/data/authorities?contractIds=&accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS