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

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

Path Parameters

id
string<uuid>
required

Document ID

Response

OK