---
title: "Delete a collection"
url: https://docs.gleap.ai/en/reference/rest-api/delete-helpcenter-collection
method: DELETE
path: "/helpcenter/collections/{helpcenterCollectionId}"
api: "API Reference"
tag: "Help center collections"
operationId: "DeleteHelpcenterCollection"
updatedAt: "2026-11-01T18:40:15.677Z"
language: en
---

# Delete a collection

`DELETE https://api.gleap.io/v3/helpcenter/collections/{helpcenterCollectionId}`

Delete a help center collection. The collection must be empty: the request is rejected with 409 while it still contains articles. Subcollections are not deleted; move or delete them first. Returns `{ success: true }`.

## Authorization

- `Authorization` (header, required): `Bearer <token>`

## Path parameters

- `helpcenterCollectionId` (string, required)

## Headers

- `project` (string, required)

## Example request

```bash
curl --request DELETE \
  --url 'https://api.gleap.io/v3/helpcenter/collections/{helpcenterCollectionId}' \
  --header 'Authorization: Bearer <token>' \
  --header 'project: <project>'
```

## Responses

### 200 (`application/json`)

Ok

- `success` (boolean, required)

```json
{
  "success": true
}
```
