Update Multiple Documents
POST {{URL_ENDPOINT}}/action/updateMany
Using /updateMany, you can update all the documents matching a specific filter specified in the body of the request. Use one of the update operators in the update field to update your documents.
Request Body
{"dataSource"=>"{{DATA_SOURCE}}", "database"=>"{{DATABASE}}", "collection"=>"{{COLLECTION}}", "filter"=>{"age"=>{"$lt"=>40}}, "update"=>{"$set"=>{"age"=>42}}}
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
| Content-Type | string | ||
| Access-Control-Request-Headers | string | ||
| api-key | string |