---
title: "Delete a collection"
method: DELETE
path: "/v1/rag/collections/{collectionId}"
tags: ["RAG"]
---

# Delete a collection

`DELETE /v1/rag/collections/{collectionId}`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/v1/rag/collections/{collectionId}`
- Auth: HTTP bearer

## Response `200`

Deleted

- OkResponse
  - `ok` true, required

## Other responses

- `400`: Invalid request

---

[API](https://skmtc.dev/modelpiper/apis/toolpiper-api.md) · [All operations](https://skmtc.dev/modelpiper/apis/toolpiper-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modelpiper/apis/toolpiper-api/revisions/6722bf56385c?raw)
