Update Single Document
PATCH/collections/:collectionName/documents/:docId
Update a single document by its _id. Supports all update operators ($set, $inc, $push, etc.).
Use returnDoc=true to return the updated document. Returns 404 if the document does not exist and upsert=false.
Request
Responses
- 200
- 404
Update successful
Document not found