Skip to Content
dropshelf
REST API

Delete chosen documents

Owner, editor or admin. Deletes up to 1000 documents by id in one transaction. A missing id is reported, not refused. A document named with a rev that no longer matches is a conflict unless force, and any conflict deletes nothing. Open streams on the collection are reset, and a delete that removed anything is an audit event.

DELETE
/api/v1/drops/{slug}/db/{collection}/docs

Owner, editor or admin. Deletes up to 1000 documents by id in one transaction. A missing id is reported, not refused. A document named with a rev that no longer matches is a conflict unless force, and any conflict deletes nothing. Open streams on the collection are reset, and a delete that removed anything is an audit event.

Authorization

headerAuthorizationBearer <token>

A personal access token, odp_ followed by 43 characters. Create one in the dashboard.

Path Parameters

slug*string

The drop.

collection*string

The collection.

Query Parameters

force?boolean

Optional. true deletes documents whose rev changed.

Request Body

The ids, or the documents with the rev each was read with.

application/json
  1. body
documents?array<>
Itemsitems <= 1000
ids?array<string>
Itemsitems <= 1000

Response Body

Deleted.

application/json
  1. response
conflicts*array<>
deleted*integer
missing*array<string>
Example Request
curl -X DELETE 'https://drop.example.com/api/v1/drops/string/db/string/docs' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "conflicts": [    {      "id": "string",      "read": 0,      "stored": 0    }  ],  "deleted": 0,  "missing": [    "string"  ]}

Generated from dropshelf core at 6a548b2, 26 Nov 2026.