---
title: "Bulk-update an access groups's zones (and their associated configurations)"
method: PATCH
path: "/orgs/{orgId}/groups/{groupId}/zoneGroups"
tags: ["orgs/groups"]
---

# Bulk-update an access groups's zones (and their associated configurations)

`PATCH /orgs/{orgId}/groups/{groupId}/zoneGroups`

__JWT is required for this endpoint with at least one of the following scopes__: o{params.orgId}-user:w,o:w,s-o:w<br/><br/>__Endpoint name__: updateGroupZoneGroups

## Path parameters

- `orgId` integer, required
- `groupId` integer, required

## Request body

- object
  - `add` object[]
    - `zoneId` integer, required
    - `scheduleId` integer, nullable, required
  - `remove` object[]
    - `zoneId` integer, required

## Response `204`

No Content

---

[API](https://skmtc.net/openpath/apis/openpath-api-documentation.md) · [All operations](https://skmtc.net/openpath/apis/openpath-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openpath/openpath-api-documentation/versions/d8a888c114fa/schema)
