Knowledge Bases
Delete a knowledge base source
Disconnects a source from its knowledge base. Documents already ingested from the source remain unless deleted separately.
Authorization
personalAccessToken AuthorizationBearer <token>
Personal Access Token of a Dynamiq user — the only credential accepted by the management API (api.*). Prefix dyn_pat_ (legacy uak_ tokens still authenticate). Send as Authorization: Bearer <token>.
In: header
Path Parameters
source_id*string
Knowledge base source UUID.
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/knowledgebase-sources/497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"message": "deleted"
}{
"error": {
"code": "unauthorized",
"message": "Unauthorized"
}
}{
"error": {
"code": "forbidden",
"message": "Forbidden"
}
}{
"error": {
"code": "not_found",
"message": "Not Found"
}
}Get a knowledge base source
Returns a single knowledge base source, including its latest sync.
Update a knowledge base source
Updates a source's provider-specific `config` (for example the selected drives, folders, files, or website crawl settings). `provider` must match the source's existing provider.