Skip to main content
DELETE
Delete file from knowledge base

Authorizations

Authorization
string
header
required

Bearer token authentication. Supports two token types:

  • JWT Access Token — obtained via POST /v1/auth/login
  • Personal Access Token (PAT) — created via POST /v1/api-tokens, format: cmnd_<tokenId>.<secret>

Path Parameters

id
string
required

The knowledge base ID

file_id
string
required

The file ID

Response

File deleted successfully

id
string
Example:

"file_xyz789"

object
string
Example:

"knowledgebase.file"

deleted
boolean
Example:

true