Actions22
- Chat Actions
- Container Tag Actions
- Conversation Actions
- Document Actions
- Memory Actions
- Profile Actions
- Search Actions
Document → Batch Delete
AI-generatedSummary
Delete multiple documents in a single bulk API call using their IDs.
Inputs
- Document ID (required) — The ID of the document to delete. Each input item provides one ID. Use expressions to map IDs from upstream data. Empty IDs are ignored.
Output shape
Single item containing the API response with added deletedCount (number of IDs processed) and ids (array of non-empty IDs) fields.
The API response structure is not modified beyond these two additions.
Examples
Example 1: Delete documents from a Set node
Connect a Set node outputting items with docId field to Supermemory. Set Resource=Document, Operation=Batch Delete, and map Document ID to {{$json[docId]}}.
