---
title: "Bulk-update a user's zones and their associated configurations"
method: PATCH
path: "/orgs/{orgId}/users/{userId}/zoneUsers"
tags: ["orgs/users"]
---

# Bulk-update a user's zones and their associated configurations

`PATCH /orgs/{orgId}/users/{userId}/zoneUsers`

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

## Path parameters

- `orgId` integer, required
- `userId` 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)
