curl --request DELETE \
--url https://api.opencopilot.so/backend/knowledgebase/b/:bot_idDelete knowledgebase by links
curl --request DELETE \
--url https://api.opencopilot.so/backend/knowledgebase/b/:bot_idlinks (array of strings, required): A list of URLs linked to the knowledge base. These URLs will be deleted along with the knowledge base.curl --location --request DELETE 'https://api.opencopilot.so/backend/knowledgebase/b/:bot_id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data '{
"links": ["https://en.wikipedia.org/wiki/Utopia", "https://en.wikipedia.org/wiki/Utopian_and_dystopian_fiction"]
}'
{
"message": "Knowledge base and associated links have been successfully deleted."
}
Was this page helpful?