---
title: "Delete the segments in the JSON array payload"
method: POST
path: "/segments/{tableName}/delete"
tags: ["Segment"]
deprecated: true
---

# Delete the segments in the JSON array payload

`POST /segments/{tableName}/delete`

> **Deprecated.**

Delete the segments in the JSON array payload

## Path parameters

- `tableName` string, required

## Query parameters

- `retention` string

## Request body

- string[]

## Response `200`

successful operation

- SuccessResponse
  - `status` string

---

[API](https://skmtc.net/startree/apis/pinot-controller-api.md) · [All operations](https://skmtc.net/startree/apis/pinot-controller-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/startree/pinot-controller-api/versions/f1cc8a0ba2e0/schema)
