Updating an instance of a Geo Region Group (classic) using the API requires specific syntax depending on whether you are using REST or SOAP. Use this table to find the syntax for your command.
Please use the ISO-3166 two letter codes for assigning countries to groups.
Understanding How The API Works »
REST Syntax | Associated API Topics |
SOAP Syntax | Create Geo Region Group (API) |
Get Geo Region Group(s) (API) | |
Delete Geo Region Group (API) |
NOTE: The Geo Traffic Management (classic) Service is deprecated. Legacy users of the service should contact Concierge for any questions on adding a Geo Traffic Management service to your zone. All other users should use Traffic Director instead. |
REST Syntax
Click to view all REST Resources |
/REST/GeoRegionGroup/ PUT — Update a region group on an existing instance of the on the zone/node indicated. HTTP Action — PUT URI — https://api.dynect.net/REST/GeoRegionGroup/<service_name>/ |
Arguments — Click for More Info
Note: Each element in the following rdata arrays is a hash containing the string elements that follow the rdata array. |
Response — Click for More Info
|
SOAP Syntax
Click to view all SOAP Commands |
UpdateGeoRegionGroup — Update a region group on an existing instance of the Geo service. |
Arguments — Click for More Info
Note: Each element in the following rdata arrays is a hash containing the string elements that follow the rdata array. token — Required. The session identifier. |
Response — Click for More Info
|
Example Request — Click for More Info
{ 'service_name' => 'Example Geo', 'name' => 'simplegroup', 'countries' => ['US'], 'rdata' => { 'a_rdata' => [ { 'address' => '9.9.9.9',}, ], }, 'ttl' => { 'a_ttl' => '900', }, 'token' => 'asdlj34ot879834cdzjklfK', } |