---
title: "Update Segment"
method: PUT
path: "/v1/projects/{project_id}/segments/{segment_id}"
tags: ["Segments"]
---

# Update Segment

`PUT /v1/projects/{project_id}/segments/{segment_id}`

## Request

- Base URL: `https://spss.insightgenius.io` (the document declares no server; this is the origin it was published from)
- URL: `https://spss.insightgenius.io/v1/projects/{project_id}/segments/{segment_id}`
- Auth: none declared

## Path parameters

- `project_id` string, uuid, required
- `segment_id` string, uuid, required

## Request body

- SegmentUpdate
  - `name` string, nullable
  - `conditions` object[], nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/insightgenius/apis/spss-insightgenius-api.md) · [All operations](https://skmtc.dev/insightgenius/apis/spss-insightgenius-api/llms.txt) · [OpenAPI document](https://skmtc.dev/insightgenius/apis/spss-insightgenius-api/revisions/0d165df595f0?raw)
