post https://{hostname}/config-gtm/v1/domains//datacenters/default-datacenter-for-maps
This operation creates a data center for use by the map-type properties CIDR, Geographic or AS mapping as the default data center.
Response
This operation creates a data center for use by the map-type properties CIDR, Geographic or AS mapping as the default data center.
xxxxxxxxxx
curl --request POST \
--url https://hostname/config-gtm/v1/domains/domainName/datacenters/default-datacenter-for-maps \
--header 'accept: application/json'
xxxxxxxxxx
42}
{
"resource": {
"city": null,
"cloneOf": null,
"cloudServerHostHeaderOverride": false,
"cloudServerTargeting": false,
"continent": null,
"country": null,
"datacenterId": 5400,
"defaultLoadObject": null,
"latitude": 0,
"links": [
{
"href": "/config-gtm/v1/domains/example.akadns.net/datacenters/5400",
"rel": "self"
}
],
"longitude": 0,
"nickname": "Default Datacenter",
"pingInterval": null,
"pingPacketSize": null,
"scorePenalty": 0,
"servermonitorLivenessCount": null,
"servermonitorLoadCount": null,
"servermonitorPool": null,