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