v1

latestOpenAPI 3.1.0Apache 2.02026-07-245981,1853.0 MB
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

domainIdsstring[]

List of domain IDs to assign to the geo rule group.

applicationIdsstring[]

List of application IDs to assign to the geo rule group.

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