Skip to main content
POST
Bulk Delete Documents

Authorizations

X-API-Key
string
header
required

Body

application/json

Schema for bulk deleting documents. Max 100 IDs per request.

Documents are addressed either by their AGO UUID ('document_ids') or, for callers that imported them under their own key, by 'source_id' + 'page_ids'. Exactly one of the two addressing modes per request.

document_ids
string[]
source_id
string | null
page_ids
string[]

Response

200 - application/json

OK

Response schema for bulk document deletion.

deleted
integer
required
not_found
string[]
required
errors
Errors · object[]
required
object
string
default:bulk_result