MongoDB Atlas - Delete documents action

This action deletes documents from a MongoDB Collection that match an optional custom query.


Input

FieldDescription
CollectionThe name of the target database collection to delete documents from. Note: Names are case-sensitive.
Custom filter queryA 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

FieldDescription
Collection nameThe name of the target database collection where documents were deleted.
Documents deleted countThe total number of deleted documents.

Resources

Last updated: