Skip to Content
dropshelf
MCPToolsData

delete_documents

Delete up to 1000 chosen documents of a collection by id, in one transaction.

Ids already gone are reported, not refused. Pass documents with the rev each was read with to refuse ones changed since. Owner, editor or admin.

Changes data · Destructive · Idempotent

Needs platform.db.enabled on the instance.

Input

NameTypeRequiredDescription
collectionstringyesthe collection
documentsarray of object, nullablenothe documents to delete with the rev each was read with, to refuse ones changed since
documents[].idstringyes
documents[].revintegerno
forcebooleannodelete documents even if their rev changed
idsarray of string, nullablenothe ids to delete; or pass documents instead
slugstringyesthe drop's name, the first label of its address

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

On this page