---
title: "Update a segment"
method: PATCH
path: "/api/segments/{id}"
tags: ["Segments"]
---

# Update a segment

`PATCH /api/segments/{id}`

## Path parameters

- `id` string, required

## Request body

- UpdateSegmentDto
  - `name` string — Segment name
  - `description` string — Segment description
  - `domainId` string — Domain ID this segment belongs to

## Response `200`

Segment updated successfully

## Other responses

- `400` — Invalid input
- `401` — Unauthorized
- `404` — Segment not found

---

[API](https://skmtc.net/navistone/apis/zazmic-platform-api.md) · [All operations](https://skmtc.net/navistone/apis/zazmic-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/navistone/zazmic-platform-api/versions/e2454b713133/schema)
