Skip to main content
DELETE
Removes a Knowledge Base Source from a Knowledge Base.

Authorizations

Authorization
string
header
required

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

Path Parameters

knowledge_base_id
string
required

Unique identifier for a Knowledge Base.

Maximum string length: 28
Pattern: ^kb_[a-zA-Z0-9]{25}$
source_id
string
required

Unique identifier for a Source that was uploaded to Totoy.

Maximum string length: 29
Pattern: ^src_[a-zA-Z0-9]{25}$

Response

OK

knowledge_base_id
string
required

The unique identifier of the Knowledge Base the Knowledge Base Source was deleted from.

Maximum string length: 28
Pattern: ^kb_[a-zA-Z0-9]{25}$
Example:

"kb_feMfJbeqbAEj4u8K5HqmKpUbY"

source_id
string
required

Unique identifier for the Source which link was deleted from the Knowledge Base, so it will no longer be considered as a Knowledge Base Source.

Maximum string length: 29
Pattern: ^src_[a-zA-Z0-9]{25}$
Example:

"src_dmZ7imKLaPcQnv5ckvGlOEAA7"

deleted
boolean
required

Indicates whether the Knowledge Base Source was successfully deleted. Note that only the link to the Source is deleted, not the Source itself.

Example:

true