---
title: "Update Segment"
method: PUT
path: "/v1/segment/{SegmentId}"
---

# Update Segment

`PUT /v1/segment/{SegmentId}`

## Request body

- object
  - `Name` string — The human-friendly name of the segment.
  - `Source` string — Where the segment came from.
  - `Reach` object — The estimated reach of the segment for all time and the last 4 weeks.
    - `all_time` integer
    - `28d` integer
  - `Description` string — An extended human-friendly description of the segment.
  - `Category` string — The category a segment belongs to.

## Response `200`

200

- object
  - `Id` integer
  - `Source` string
  - `Name` string
  - `Reach` object
    - `all_time` integer
    - `28d` integer
  - `Description` string
  - `Category` string
  - `IsDeleted` boolean

## Other responses

- `400` — 400

---

[API](https://skmtc.net/kevel/apis/engine-apis.md) · [All operations](https://skmtc.net/kevel/apis/engine-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kevel/engine-apis/versions/0ca55f45aa7d/schema)
