---
title: "Delete a Customer Segment"
method: DELETE
path: "/v2/customer-segments/{segment_id}"
tags: ["customer-segments"]
---

# Delete a Customer Segment

`DELETE /v2/customer-segments/{segment_id}`

## Request

- Base URL: `https://api.stuut.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stuut.ai/v2/customer-segments/{segment_id}`
- Auth: HTTP bearer

Permanently deletes a customer segment. Segments assigned to generic
workflows must be removed from those workflows first.

## Path parameters

- `segment_id` string, required

## Response `204`

Successful Response

## Other responses

- `409`: Conflict
- `422`: Validation Error

---

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