cURL
curl --request DELETE \ --url https://app.demand-iq.com/api/company/kb/documents/{documentId} \ --cookie session=
{ "success": true }
Removes the document from S3 and the database. Associated chunks are deleted automatically.
Session cookie obtained from POST /api/auth/login.
POST /api/auth/login
Document deleted