Update Documents
Changed onUpdate multiple documents in a collection.
post/action/updateMany
Request
- Base URLhttps://data.mongodb-api.com/app/your-app-id/endpoint/data/v1
- URLhttps://data.mongodb-api.com/app/your-app-id/endpoint/data/v1/action/updateMany
- Auth
- API key in header Authorization
- or API key in header email and API key in header password
- or API key in header apiKey
- or API key in header jwtTokenString
Request body
Response
Updated
Example response
{
"matchedCount": 12,
"modifiedCount": 12
}Changes
- breaking
the
/response's property type changed fromnumberobjectto no type for status (media type: application/json) - breaking
the
/response's property type changed fromnumberobjectto no type for status (media type: application/ejson) - breaking
the
/response's property type changed fromnumberobjectto no type for status (media type: application/json) - breaking
the
/response's property type changed fromnumberobjectto no type for status (media type: application/ejson)
- breaking