Geolocation Rules
Assign Geolocation Rule Group
Use this API to assign or unassign multiple domains and/or applications to a specified geolocation rule group. For each domain or application, set the value to true to assign or false to unassign.
put/api/cmp/v1/georulegroups/{geoRuleGroupId}/assign
Path parameters
geoRuleGroupIdstring uuid required
Unique identifier of the geo rule group
Request body
Example request
{
"domainIds": [
"f2229953-b4b5-4042-8cb9-b78038cc4c46",
"a1234567-b4b5-4042-8cb9-b78038cc4c47"
],
"applicationIds": [
"c3456789-b4b5-4042-8cb9-b78038cc4c48",
"d4567890-b4b5-4042-8cb9-b78038cc4c49"
]
}Response
OK