---
title: "Delete Collection"
method: POST
path: "/rest/api/v1/deletecollection"
tags: ["Collections"]
---

# Delete Collection

`POST /rest/api/v1/deletecollection`

Delete a Collection given the Collection's ID.

## Query parameters

- `locale` string

## Request body

- DeleteCollectionRequest
  - `ids` integer[], required — The IDs of the Collections to delete.
  - `allowedDatasource` string — The datasource allowed in the Collection to be deleted.

## Response `200`

OK

## Other responses

- `400` — Invalid request
- `401` — Not Authorized
- `422` — Semantic error
- `429` — Too Many Requests

---

[API](https://skmtc.net/gleanwork/apis/glean-api.md) · [All operations](https://skmtc.net/gleanwork/apis/glean-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleanwork/glean-api/revisions/ebd602e4aea4/schema)
