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

# DELETE /collections/{name}/{docID}

`DELETE /collections/{name}/{docID}`

Delete a document by docID

## Path parameters

- `name` string, required
- `docID` string, required

## Response `200`

ok

## Other responses

- `400` — error
- `default`

## Changes

- **2025-06-02** `60812f5416c5` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sourcenetwork/apis/defradb-api/changes/collections/:name/:docID/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.dev/sourcenetwork/apis/defradb-api/revisions/71d3fcfd8e8b?raw)
