Skip to main content
POST
Delete documents

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Path Parameters

knowledge_base_id
string
required

The knowledge base's id, from GET /v1/knowledge_bases

Body

application/json
external_ids
string[]

Documents by your id

Maximum array length: 100
ids
string[]

Documents by id

Maximum array length: 100

Response

200 - application/json

Successful Response

items
DeletedDocument · object[]
required

In request order: ids first, then external ids