---
title: "Assign Geolocation Rule Group"
method: PUT
path: "/api/cmp/v1/georulegroups/{geoRuleGroupId}/assign"
tags: ["Geolocation Rules"]
---

# Assign Geolocation Rule Group

`PUT /api/cmp/v1/georulegroups/{geoRuleGroupId}/assign`

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.

## Path parameters

- `geoRuleGroupId` string, uuid, required

## Request body

- GeoRuleGroupAssignRequestDto
  - `domainIds` string[] — List of domain IDs to assign to the geo rule group.
  - `applicationIds` string[] — List of application IDs to assign to the geo rule group.

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500` — Internal Server Error

---

[API](https://skmtc.net/onetrust/apis/platform-access-management.md) · [All operations](https://skmtc.net/onetrust/apis/platform-access-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onetrust/platform-access-management/versions/21de3aa0b170/schema)
