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

# Delete a stream

`DELETE /storage/streams/{name}`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/storage/streams/{name}`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-5/docs/storage/streams/:name/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a stream with all the messages and consumers attached to it.

## Path parameters

- `name` string, required

## Response `200`

Bad Request

- SuccessMessage
  - `message` string

## Other responses

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

## Changes

- **2025-07-04** `d566a61279be`: 5 info
  - added the non-success response with the status `404`
  - added the non-success response with the status `500`
  - the response property `error` became required for the status `400`
  - the response property `error` became required for the status `401`
  - …1 more
- **2025-06-13** `e4ad9e1ccd66`: 5 warning, 2 info
  - removed the optional property `cluster` from the response with the `200` status
  - removed the optional property `config` from the response with the `200` status
  - removed the optional property `created` from the response with the `200` status
  - removed the optional property `state` from the response with the `200` status
  - …3 more
- **2025-05-22** `72fe48f81978`: 2 breaking, 2 info
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `401`
  - added the optional property `error` to the response with the `400` status
  - added the optional property `error` to the response with the `401` status

[Operation history](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-5/changes/storage/streams/:name/delete.md)

---

[API](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-5.md) - [All operations](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-5/llms.txt) - [OpenAPI document](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-5/revisions/104591eadd10?raw)
