Skip to main content
POST
/
document
/
move
Move Document
curl --request POST \
  --url https://api.stax.ai/document/move \
  --header 'Content-Type: application/json' \
  --cookie authToken= \
  --data '
{
  "docId": "<string>",
  "stackId": "<string>"
}
'
{
  "success": true
}

Authorizations

authToken
string
cookie
required

Cookie-based authentication using userId and authToken cookies

Body

application/json
docId
string
required

MongoDB ObjectId

stackId
string
required

MongoDB ObjectId

Response

200 - application/json

Success response

success
boolean
required
Example:

true