# MongoDB Atlas - Delete Documents Action
This action deletes documents from a MongoDB Collection that match an optional custom query.
# Input
Field | Description |
---|---|
Collection | The name of the target database collection to delete documents from. Note: Names are case-sensitive. |
Custom filter query | A JSON query used to filter documents. Documents that match the query's criteria will be deleted. Refer to the Custom Filter Queries for MongoDB guide for more info. |
# Output
Field | Description |
---|---|
Collection name | The name of the target database collection where documents were deleted. |
Documents deleted count | The total number of deleted documents. |
# Resources
Last updated: 1/11/2022, 5:21:18 PM