v46

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-253903.6 MB
Ingest

Bulk delete documents

Bulk delete documents by IDs or container tags

delete/v3/documents/bulk

Request body

idsstring[]

Array of document IDs to delete (max 100 at once)

containerTagsstring[]

Array of container tags - all documents in these containers will be deleted

filepathstring

Delete documents matching this filepath. Exact match for full paths, prefix match if ending with /

Example request

{
  "ids": [
    "acxV5LHMEsG2hMSNb4umbn",
    "bxcV5LHMEsG2hMSNb4umbn"
  ]
}

Response

Bulk deletion completed successfully

successboolean required

Whether the bulk deletion was successful

deletedCountnumber required

Number of documents successfully deleted

containerTagsstring[]

Container tags that were processed (only applicable when deleting by container tags)

Example response

{
  "success": true,
  "deletedCount": 2,
  "containerTags": [
    "user_123",
    "project_123"
  ]
}