---
title: "Delete a collection and every collection inside it."
method: DELETE
path: "/v1/workspaces/{ws}/collections/{collectionId}"
tags: ["collections"]
---

# Delete a collection and every collection inside it.

`DELETE /v1/workspaces/{ws}/collections/{collectionId}`

## Request

- Base URL: `https://api.storequant.com`
- URL: `https://api.storequant.com/v1/workspaces/{ws}/collections/{collectionId}`
- Auth: HTTP bearer

Delete a collection and every collection inside it. Scope `collections:write`; cache `none`.

## Path parameters

- `ws` string, required
- `collectionId` string, uuid, required

## Request body

- object

## Response `200`

Success.

- object
  - `data` object, required
    - `id` string, uuid, required
    - `removed` string[], required
  - `meta` object, required
    - `request_id` string, required
    - `as_of` string, date-time, required
    - `lag_hours` number
    - `cursor` string
    - `count` integer

## Other responses

- `4XX`: The one error shape.
- `5XX`: The one error shape.

---

[API](https://skmtc.dev/scrollstash/apis/storequant-api.md) · [All operations](https://skmtc.dev/scrollstash/apis/storequant-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scrollstash/apis/storequant-api/revisions/4d67a114a13c?raw)
