Delete Many
Deletes all the documents by a specified filter.
Last updated
Was this helpful?
Deletes all the documents by a specified filter.
Last updated
Was this helpful?
Use this API action when you request the mass deletion of your collection documents. You can set a filter to delete some portions of documents.
Check the information about entities on how your filter parameters are mapped.
Use this API action when you request the mass deletion of your collection documents. You can set a filter to delete some portions of documents. https://docs.codemash.io/api/database/collections/delete-many
/{version}/db/{CollectionName}/bulk
Collection name - unique, lowercased, collection name without whitespace. E.g., if your collection title you have entered in the CodeMash dashboard is "Business Trips" then collection name would be "business-trips".
The CodeMash API version used to fetch data from the API. If not specified, the last version will be used. E.g.: v2
Accept Header
API key of your cluster. Can be passed in a header as X-CM-Cluster.
ID of your project. Can be passed in a header as X-CM-ProjectId.
Specify culture code when your response from the API should be localised. E.g.: en
Deletes all the documents by a specified filter (in JSON format).
Ignore the delete trigger when executing mass deletion. When this property is set to "true", all delete triggers won't be executed.