Bulk Delete Documents (V2)
Delete multiple documents in a single request.
Performs strict validation:
- Checks if document exists
- Checks user permissions (Owner or Workspace Editor+)
- Checks if document is used in any Experience (blocks deletion)
If valid, queues an atomic background task for deletion.
Request
This endpoint expects an object.
document_ids
List of document IDs to delete (max 100 at once)
Response
Bulk deletion processed (check results for individual status)
total_requested
Total documents requested for deletion
deleted_count
Number of documents successfully deleted
failed_count
Number of documents that failed to delete
results
Detailed results for each document
Errors
400
Bad Request Error
401
Unauthorized Error

