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));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));Document ID
OK
Was this page helpful?