---
title: "Update Service Territory"
method: PUT
path: "/territory/{territory_uid}"
---

# Update Service Territory

`PUT /territory/{territory_uid}`

## Request

- Base URL: `https://dc-region.zuperpro.com/api`
- URL: `https://dc-region.zuperpro.com/api/territory/{territory_uid}`
- Auth: API key in header `x-api-key`

Same validation as Create. The duplicate-name check excludes this territory itself.

## Path parameters

- `territory_uid` string, required

## Request body

- object
  - `territory` object
    - `territory_name` string, required: Required. Must be unique per company (case-insensitive) — 409 "Territory Name Already Exists" otherwise.
    - `territory_type` 'RADIUS' | 'GEOFENCE' | 'ZIPCODE', required: Required. Determines which of territory_radius / territory_coordinates / territory_zipcodes is required.
    - `territory_description` string
    - `territory_color` string
    - `territory_radius` object: Required when territory_type is RADIUS.
      - `geo_cordinates` number[]: [latitude, longitude]
      - `radius` number
    - `territory_coordinates` array[]: Required when territory_type is GEOFENCE. Array of [latitude, longitude] polygon points.
      - number[]
    - `territory_zipcodes` string[]: Required when territory_type is ZIPCODE.
    - `teams` object[]
      - `team_uid` string
    - `owners` object[]: A user with the Field Executive role cannot be an owner — 400 otherwise. The creator is auto-added as an owner unless the creator is a Field Executive.
      - `user_uid` string

## Response `200`

200

- object
  - `type` string
  - `message` string
  - `data` object
    - `territory_uid` string

## Other responses

- `400`: 400
- `401`: 401

## Changes

- **2026-11-03** `3c21bc232e16`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zuper/apis/zuper-pro-api/changes/territory/:territory_uid/put.md)

---

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