---
title: "Set a zone's groups by replacing the entire set with this one"
method: PUT
path: "/orgs/{orgId}/zones/{zoneId}/groupIds"
tags: ["orgs/zones"]
---

# Set a zone's groups by replacing the entire set with this one

`PUT /orgs/{orgId}/zones/{zoneId}/groupIds`

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

## Path parameters

- `orgId` integer, required
- `zoneId` integer, required

## Request body

- object
  - `groupIds` integer[]

## 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)
