---
title: "Delete a segment"
method: DELETE
path: "/v1/segments/{id}"
tags: ["segment"]
---

# Delete a segment

`DELETE /v1/segments/{id}`

This endpoint deletes the segment for the specified segment ID.

## Path parameters

- `id` string, required

## Response `200`

The segment was deleted.

- V1DeleteSegmentResponse — Empty response body.

## Other responses

- `400` — There was a problem with input.
- `401` — Login failed or token not valid.
- `403` — Login failed or token not valid.
- `404` — Segment for specified id does not exist.
- `default` — An unexpected error response.

---

[API](https://skmtc.net/citrusad/apis/citrus-auth-api.md) · [All operations](https://skmtc.net/citrusad/apis/citrus-auth-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/citrusad/citrus-auth-api/revisions/a040003c7378/schema)
