Document → Delete
AI-generatedSummary
Delete a document from an OpenSearch index using its index ID and document ID. Optionally queue deletes for the bulk API; bulk requests are sent in batches of up to 50 input items.
Inputs
- Index ID (required) — ID of the index containing the document.
- Document ID (required) — ID of the document to delete.
- Bulk Delete — When enabled, submits the deletion through OpenSearch’s bulk API; otherwise, sends a DELETE request for the document.
Output shape
A single result item per input item.
A successful non-bulk delete returns {"deleted":true}. Bulk deletes return the corresponding item result from OpenSearch’s bulk response. API failures raise an error unless the node is configured to continue on fail.