---
title: "Update a zone anti-passback area"
method: PATCH
path: "/orgs/{orgId}/zones/{zoneId}/apbAreas/{apbAreaId}"
tags: ["orgs/zones"]
---

# Update a zone anti-passback area

`PATCH /orgs/{orgId}/zones/{zoneId}/apbAreas/{apbAreaId}`

__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__: updateZoneApbArea

## Path parameters

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

## Request body

- object
  - `name` string
  - `occupancyLimit` integer, nullable
  - `occupancyLimitMode` 'alert' | 'enforce', nullable
  - `apbFlows` object[]
    - `direction` 'inbound' | 'outbound', required
    - `mode` 'alert' | 'enforce', nullable
    - `entryIds` integer[]

## Response `204`

No Content

---

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