---
title: "DELETE /collections/{name}"
method: DELETE
path: "/collections/{name}"
tags: ["collection"]
---

# DELETE /collections/{name}

`DELETE /collections/{name}`

Delete document(s) from a collection

## Path parameters

- `name` string, required

## Request body

- DeleteCollection
  - `filter` unknown

## Response `200`

Delete results

- DeleteResult
  - `Count` integer
  - `DocIDs` string[]

## Other responses

- `400` — error

## Changes

> 53 revisions in range; 2 could not be searched.

- **2026-03-02** `8c167ee47363` — 1 info
  - api operation id `collection_delete_with_filter` removed and replaced with `delete_collection_with_filter`
- **2025-06-02** `60812f5416c5` — 1 info
  - api operation id `delete_collection_with_filter` removed and replaced with `collection_delete_with_filter`

[Change history](https://skmtc.dev/sourcenetwork/apis/defradb-api/changes/collections/:name/delete.md)

---

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