Skip to main content
DELETE
Bulk delete documents

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request body for bulk deleting documents by IDs or container tags

ids
string[]

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

Required array length: 1 - 100 elements
containerTags
string[]
deprecated

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

Minimum array length: 1
Maximum string length: 100
Pattern: ^[a-zA-Z0-9_:-]+$
filepath
string

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

Response

Bulk deletion completed successfully

Response for bulk document deletion

success
boolean
required

Whether the bulk deletion was successful

Example:

true

deletedCount
number
required

Number of documents successfully deleted

Example:

2

errors
object[]

Array of errors for documents that couldn't be deleted (only applicable when deleting by IDs)

containerTags
string[]
deprecated

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