v4

OpenAPI 3.1.02026-08-01420618.8 KB
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
}