---
title: "Delete a collection"
method: DELETE
path: "/knowledge-bases/{id}/collections/{collection_id}"
tags: ["collections"]
---

# Delete a collection

`DELETE /knowledge-bases/{id}/collections/{collection_id}`

Permanently deletes a collection and all articles within it from the knowledge base. Nested collections and their articles are also deleted.

**Rate limit:** 30 requests per minute

## Path parameters

- `id` string, required
- `collection_id` string, required

## Response `200`

- DeleteCollectionResponseBody
  - `request_id` string — The request ID for tracking.

## Other responses

- `400` — The request was invalid or could not be completed.
- `403` — The authenticated caller or organization is not allowed to access this endpoint or operation.
- `404`
- `500` — An unexpected internal error occurred.

## Changes

- **2026-08-28** `fe3adb90ea45` — 1 info
  - added the non-success response with the status `403`

[Change history](https://skmtc.dev/usepylon/apis/pylon-api/changes/knowledge-bases/:id/collections/:collection_id/delete.md)

---

[API](https://skmtc.dev/usepylon/apis/pylon-api.md) · [All operations](https://skmtc.dev/usepylon/apis/pylon-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usepylon/pylon-api/revisions/fe3adb90ea45/schema)
