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

# Delete a segment

`DELETE /api/v1/ackdb/observe/segments/{id}`

## Request

- Base URL: `http://localhost:3009`
- URL: `http://localhost:3009/api/v1/ackdb/observe/segments/{id}`
- Auth: HTTP bearer

Soft-deletes a Segment (sets deleted_at). Owner only (#284).

## Path parameters

- `id` string, required

## Response `200`

Segment soft-deleted.

- object
  - `data` object, required
    - `deleted` boolean, required

## Other responses

- `403`: Caller is not the segment owner (#284).
- `404`: Segment not found.

---

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