---
title: "Delete Segment"
method: DELETE
path: "/v3/lists/{listId}/segments/{segmentId}"
tags: ["Segments"]
---

# Delete Segment

`DELETE /v3/lists/{listId}/segments/{segmentId}`

This endpoint allows you to delete an existing segment from a certain list. You need to provide the unique identifier (listId) of the list where the segment is located and the id of the segment you want to delete.

## Path parameters

- `listId` integer, required
- `segmentId` string, required

## Response `200`

Successfully deleted the segment

- BaseResponse
  - `meta` MetadataDTO
    - `timestamp` integer, required — Transaction's date in timestamp
    - `transactionId` string, required — Id for the current transaction (Endpoint's call)
    - `explain` string — Explain string in case of failure

## Other responses

- `404` — Resource not found
- `500` — Internal server error

---

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