Skip to main content

Upsert Zone

POST 

/v1/api/locations/zones

Creates or updates a zone (upsert operation).

Auth Required

Required Permissions:

  • system.areas:write ("System Areas")

Note: This endpoint enforces requireLocalSite. If site_id is provided in the request body, it must match the device's DEVICE_SITE_ID — requests targeting a remote site will be rejected.

Request

Responses

Zone upserted successfully