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

Request

  • Base URL
    https://hostname
  • URL
    https://hostname/api/cmp/v1/georulegroups/{geoRuleGroupId}/assign
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://{hostname}/api/access/v1/oauth/token scopes: COOKIE

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

Changes

No recorded changes to this operation across all 1 revision of this API.