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

# Delete a collection

`DELETE /collections/{collection_id}`

## Request

- Base URL: `https://api.cloudglue.dev/v1`
- URL: `https://api.cloudglue.dev/v1/collections/{collection_id}`
- Auth: HTTP bearer

Delete a collection

## Path parameters

- `collection_id` string, required

## Response `200`

Successful deletion

- CollectionDelete
  - `id` string, required: ID of the deleted collection
  - `object` 'collection', required: Object type, always 'collection'

## Other responses

- `404`: Collection not found
- `500`: An unexpected error occurred on the server

## Changes

- **2026-10-30** `23d3f240819f`: 2 info
  - added the optional property `code` to the response with the `404` status
  - added the optional property `code` to the response with the `500` status

[Operation history](https://skmtc.dev/cloudglue/apis/cloudglue-api/changes/collections/:collection_id/delete.md)

---

[API](https://skmtc.dev/cloudglue/apis/cloudglue-api.md) - [All operations](https://skmtc.dev/cloudglue/apis/cloudglue-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cloudglue/apis/cloudglue-api/revisions/23d3f240819f?raw)
