---
title: "Update zones in folder"
method: PUT
path: "/locations/folder/zones"
tags: ["Location"]
---

# Update zones in folder

`PUT /locations/folder/zones`

Update zones for the specified folder ID.

## Request body

- XiqUpdateZonesRequest
  - `folder_id` integer, required — The Folder ID
  - `zones` XiqUpdateZoneRequest[], required — The list of zones to update
    - `id` integer, required — The Zone ID
    - `name` string, required — The Zone name
    - `color` string, required — The Zone color
    - `zone_vertical_align` 'TOP' | 'BOTTOM', required — The Zone vertical alignment
    - `visible` boolean, required — The visibility of the zone
    - `coordinates` XiqZonePoint[], required — The Zone coordinates
      - `x` number, double, required — The X coordinate of the zone point
      - `y` number, double, required — The Y coordinate of the zone point

## Response `200`

OK

- XiqZone[]
  - `id` integer, required — The Zone ID
  - `name` string, required — The Zone name
  - `color` string, required — The Zone color
  - `folder_id` integer, required — The Folder ID
  - `zone_vertical_align` 'TOP' | 'BOTTOM', required — The Zone vertical alignment
  - `visible` boolean, required — The visibility of the zone
  - `coordinates` XiqZonePoint[] — The Zone coordinates
    - `x` number, double, required — The X coordinate of the zone point
    - `y` number, double, required — The Y coordinate of the zone point
  - `owner_id` integer — The Owner ID
  - `org_id` integer, required — The Org ID

---

[API](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api.md) · [All operations](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/extremecloudiq/extremecloud-iq-api/versions/5ff7ab84e8e8/schema)
