Syntax
api.deleteKnowledgeSource(params)
Description
Deletes a Knowledge Source and the relative Knowledge Chunks. Parameters:params:DeleteKnowledgeSourceParamsโ configuration object containing the source ID. The object contains the following parameters:
| Parameter | Type | Description |
|---|---|---|
knowledgeSourceId | string | The ID of the Knowledge Source. |
Promise<{}> โ a promise that resolves to an empty object when the deletion is complete.