---
title: "Delete a segment"
description: "Deletes the segment. The people in it are not changed."
canonical: https://docs.rumoro.dev/api/segments/delete-segment
markdown: https://docs.rumoro.dev/api/segments/delete-segment.mdx
---

# Delete a segment

`DELETE /v1/segments/{id}`

Deletes the segment. The people in it are not changed.

## Parameters

| Name | In | Description |
| --- | --- | --- |
| `id` | path, required | The segment's id (seg_...). |

## Responses

| Status | Meaning |
| --- | --- |
| 204 | Done |
| 401 | The API key is missing or not valid |
| 404 | Your workspace has no segment with this id |

The [OpenAPI document](https://api.rumoro.dev/v1/openapi.json) has every schema. Rules shared by all endpoints are in [Conventions](https://docs.rumoro.dev/conventions.mdx).
