Update a knowledge base source

View as Markdown
Update an existing knowledge base source by source ID. The updatable fields depend on the existing source type: - `link` / `file`: `url` - `text`: `content` You can always update `name`.

Authentication

AuthorizationBearer

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

Path parameters

knowledge_base_idstringRequired
Knowledge base ID.
source_idstringRequired
Source ID.

Request

This endpoint expects an object.
UpdateLinkSourcePayloadobjectRequired
OR
UpdateFileSourcePayloadobjectRequired
OR
UpdateTextSourcePayloadobjectRequired

Response

200
statusstring
responseobject

Errors

400
Bad Request Error