Delete documents (bulk)

Delete multiple documents in one request by sending a JSON array. Each element must be an object with an id field (the document ID, same value as elsewhere in the Documents API).

The caller must have permission to delete each document. Documents must belong to the authenticated workspace.

This batch operation returns 200 OK with a JSON body containing an id array of deleted document IDs. That differs from Delete Document (DELETE /public/v1/documents/{document_id}), which returns 204 No Content for a single document.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

JSON array of documents to delete. Each element must be an object with an id property
holding the ID of a document that belongs to the authenticated workspace.

List of documents to delete. Each object must contain a document id.

Reference to a single document in a bulk delete request.

string
required

Document ID to delete.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json