Skip to main content
DELETE
Delete a document

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

document_id
string
required

The document's id, from GET /v1/knowledge_bases/{knowledge_base_id}/documents

Response

200 - application/json

Successful Response

id
string
required
deleted
boolean
default:true