---
title: "Delete Company Collection"
method: DELETE
path: "/api/companies/{company_uuid}/contents/collections"
tags: ["contents"]
---

# Delete Company Collection

`DELETE /api/companies/{company_uuid}/contents/collections`

## Request

- Base URL: `https://api.regdoor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.regdoor.com/api/companies/{company_uuid}/contents/collections`
- Auth: HTTP bearer

Remove a collection label from documents in the given scope for this company.

Does not delete documents. Removes the collection row when no associations remain.

This removes the label company-wide within the chosen library scope, so it
cannot be scoped to "own" — only callers with "all" scope on
edit_private_content may use it.

## Path parameters

- `company_uuid` string, uuid, required

## Query parameters

- `name` string, required: Collection name
- `scope` 'private' | 'public', required: Library scope: private (company docs) or public (global docs)

## Headers

- `X-User-Email` string, nullable
- `X-User-Name` string, nullable

## Response `200`

Successful Response

- DeleteCollectionResult
  - `removed` integer, required
  - `deleted_collection` boolean, required

## Other responses

- `404`: Not found
- `422`: Validation Error

---

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