Logo
Akamai APIs API Documentation

List GTM properties

GET https://{{host}}/edge-diagnostics/v1/gtm/gtm-properties

Lists GTM properties you have access to. You can use the returned hostname values to run Test network connectivity with MTR and Get domain details with dig operations for a GTM hostname. Note, that the Test network connectivity with MTR operation requires also hostname's test and target IP values, that you can get with the List test and target IPs for a GTM hostname operation.

 

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

{ "gtmProperties": [ { "domain": "akadns.net", "hostname": "origin.example.net", "property": "origin" }, { "domain": "akadns.net", "hostname": "origin-r3h.akadns.net", "property": "origin-r3h" } ] }



Curl
curl -X GET 'https://undefined/edge-diagnostics/v1/gtm/gtm-properties?accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS