Delete Knowledge Base File
Delete a knowledge base file associated with a specific call flow.
Headers
x-api-keystringrequiredAPI key used for authenticating requests to the API.
x-workspace-idstringrequiredWorkspace identifier for the API.
Path Parameters
idstringrequiredThe unique identifier of the call flow from which the knowledge base file will be deleted.
fileKeystringrequiredThe key of the knowledge base file to be deleted. The file key is typically a unique identifier or filename used in the storage system.
Response Fields
_idstringThe unique identifier for the call flow from which the knowledge base file was deleted.
workspaceIdstringThe identifier of the workspace associated with the call flow.
settingsobjectContains updated settings for the call flow following the deletion of the knowledge base file.
knowledgeBaseFilesarrayAn array representing the remaining knowledge base files after the deletion. Each element in the array is an object that includes details such as the file name, type, and any other relevant metadata.
{
"_id": "callFlowId",
"workspaceId": "workspaceIdExample",
"settings": {
"knowledgeBaseFiles": [
// Remaining files after deletion
]
}
}