put https://{hostname}/config-gtm/v1/domains//as-maps/
Run this operation to create or update an AS map.
Response
Run this operation to create or update an AS map.
xxxxxxxxxx
curl --request PUT \
--url https://hostname/config-gtm/v1/domains/domainName/as-maps/mapName \
--header 'accept: application/json' \
--header 'content-type: application/json'
xxxxxxxxxx
40}
{
"resource": {
"assignments": [
{
"asNumbers": [
16625
],
"datacenterId": 3134,
"nickname": "Frostfangs and the Fist of First Men"
},
{
"asNumbers": [
12222,
16702,
17334
],
"datacenterId": 3133,
"nickname": "Winterfell"
}
],
"defaultDatacenter": {
"datacenterId": 5400,
"nickname": "All Other AS Numbers"
},
"name": "The North"