cURL
curl --request POST \ --url https://api.stax.ai/document/remove \ --header 'Content-Type: application/json' \ --cookie authToken= \ --data ' { "docId": "<string>" } '
{ "success": true }
Delete a document
Cookie-based authentication using userId and authToken cookies
MongoDB ObjectId
Document removed successfully
true