Skip to main content
POST
Update Document

Authorizations

authToken
string
cookie
required

Cookie-based authentication using userId and authToken cookies

Body

application/json
docDiff
object
required

Fields to update

docId
string

Single document ID

Pattern: ^[0-9a-fA-F]{24}$
docIds
string[]

Multiple document IDs for bulk update

MongoDB ObjectId

Pattern: ^[0-9a-fA-F]{24}$

Response

Document updated successfully

success
boolean
required
Example:

true