Delete Knowledge Base
Delete knowledgebase by links
DELETE
/
backend
/
knowledgebase
/
b
/
:bot_id
Important: Ensure that you have the necessary permissions before attempting to delete a knowledge base. This action cannot be undone.
Request Body
- Content Type: application/json
Attributes
links
(array of strings, required): A list of URLs linked to the knowledge base. These URLs will be deleted along with the knowledge base.
Request Example
bot_id
string
Bot Id
Response Example
Error Responses
- 404 Not Found: If the specified knowledge base is not found.
- 401 Unauthorized: If the request lacks valid authentication credentials.
- 403 Forbidden: If the user does not have the necessary permissions to delete the knowledge base.
- 500 Internal Server Error: If the server encountered an unexpected condition.
Was this page helpful?