Delete Many Documents
POST {{URL_ENDPOINT}}/action/deleteMany
You can use /deleteMany
to delete multiple documents at once. Use the filter
property to specify which documents to delete.
Warning: Using filter: { }
will delete all the documents in the collection. Use /deleteMany
with care.
Request Body
{"dataSource"=>"{{DATA_SOURCE}}", "database"=>"{{DATABASE}}", "collection"=>"{{COLLECTION}}"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Access-Control-Request-Headers | string | ||
api-key | string |