---
title: "Delete a stream"
method: DELETE
path: "/api/streams/{name}"
tags: ["streams"]
---

# Delete a stream

`DELETE /api/streams/{name}`

**Spaces method and path for this operation:**

<div><span class="operation-verb delete">delete</span>&nbsp;<span class="operation-path">/s/{space_id}/api/streams/{name}</span></div>

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Deletes a stream definition and the underlying data stream<br/><br/>[Required authorization] Route required privileges: manage_stream.

## Path parameters

- `name` string, required

## Headers

- `kbn-xsrf` string, required

## Request body

- union
  - object
  - unknown

## Response `200`

The stream was deleted successfully.

## Changes

> 92 revisions in range; 20 could not be searched.

- **2026-08-12** `f4def03bd2af` — 1 breaking, 1 info
  - removed `subschema #2` from the request body `anyOf` list
  - the request's body became nullable

[Change history](https://skmtc.dev/elastic/apis/kibana-apis/changes/api/streams/:name/delete.md)

---

[API](https://skmtc.dev/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.dev/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/elastic/kibana-apis/revisions/d3fa2d005f9b/schema)
