---
title: "Delete a collection"
method: POST
path: "/collections.delete"
tags: ["Collections"]
---

# Delete a collection

`POST /collections.delete`

Delete a collection and all of its documents. This action can’t be undone so please be careful.

## Request body

- object
  - `id` string, uuid, required

## Response `200`

OK

- object
  - `success` boolean

## Other responses

- `401` — The API key is missing or otherwise invalid.
- `403` — The current API key is not authorized to perform this action.
- `404` — The specified resource was not found.
- `429` — The request was rate limited.

## Changes

- **2024-10-18** `fdf2ec9c9df4` — 1 info
  - added the non-success response with the status `429`
- **2024-07-06** `7b33b538cd7d` — 9 info
  - added the optional property `data` to the response with the `401` status
  - added the optional property `data` to the response with the `403` status
  - added the optional property `data` to the response with the `404` status
  - added the optional property `message` to the response with the `401` status
  - …5 more

[Change history](https://skmtc.dev/defaulr/apis/outline-api/changes/collections.delete/post.md)

---

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