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

# Delete segment

`DELETE /segment/{id}`

## Request

- Base URL: `https://api.lytics.io/v2`
- URL: `https://api.lytics.io/v2/segment/{id}`
- Auth: API key in header `Authorization`

Delete a segment

## Path parameters

- `id` string, required

## Query parameters

- `account_id` string

## Response `200`

OK

- ModelsApiResponse
  - `_meta` object: Response Metadata
  - `data` object: Response Payload
  - `request_id` string
  - `status` integer: HTTP Status Code

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2026-11-03** `d8e975057aec`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/lytics/apis/lytics-api/changes/segment/:id/delete.md)

---

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