Skip to main content
DELETE
/
api
/
v1
/
rag
/
kb
/
{id}
Delete a knowledge base and all its content
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://blackbox.dasha.ai/api/v1/rag/kb/{id}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));

Path Parameters

id
string<uuid>
required

Knowledge base ID

Response

OK