---
title: "Enable/disable individual zones in the loaded set"
method: PATCH
path: "/v1/vehicles/{vehicleId}/loaded-zone-set/enabled"
tags: ["Zone Set Management"]
---

# Enable/disable individual zones in the loaded set

`PATCH /v1/vehicles/{vehicleId}/loaded-zone-set/enabled`

## Request

- Base URL: `https://api.polymathrobotics.dev`
- URL: `https://api.polymathrobotics.dev/v1/vehicles/{vehicleId}/loaded-zone-set/enabled`
- Auth: HTTP bearer

Enables or disables named zones within the currently loaded zone set. Adjusts runtime state only, does not modify any saved artifact.

## Path parameters

- `vehicleId` string, required

## Request body

- SetZonesEnabledRequest: Base for request bodies: unknown fields are rejected instead of silently dropped.
  - `enable_zones` string[]: Zone names to enable in the active set.
  - `disable_zones` string[]: Zone names to disable in the active set.

## Response `200`

Successful Response

- WorldModelSuccessResponse
  - `status` 'success': JSend status.
  - `message` string, required: Human-readable message, propagated from the ROS service.

## Other responses

- `404`: A named zone was not found in the active set
- `409`: No zone set is currently loaded
- `422`: Validation Error
- `500`: Internal server error

## Changes

- **2026-09-09** `7bb062ddb622`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/polymathrobotics/apis/polymath-api/changes/v1/vehicles/:vehicleId/loaded-zone-set/enabled/patch.md)

---

[API](https://skmtc.dev/polymathrobotics/apis/polymath-api.md) - [All operations](https://skmtc.dev/polymathrobotics/apis/polymath-api/llms.txt) - [OpenAPI document](https://skmtc.dev/polymathrobotics/apis/polymath-api/revisions/3b5ff2f21338?raw)
