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
Documentation IndexFetch the complete documentation index at: https://docs.stax.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.stax.ai/llms.txt
Use this file to discover all available pages before exploring further.
Cookie-based authentication using userId and authToken cookies
MongoDB ObjectId
^[0-9a-fA-F]{24}$
Document removed successfully
true