Delete Documents
Changed onDelete multiple documents that match a query.
post/action/deleteMany
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/deleteMany
- 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
Deleted
Example response
{
"deletedCount": 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