Actions17
- Block Actions
- Task Actions
- Collection Actions
- Search Actions
Collection → Delete Items
AI-generatedSummary
Delete specified items from a chosen collection within your daily notes in Craft.
Inputs
- Collection Name or ID (required) — Select the target collection by name or ID, either from the dropdown or via an expression.
- Item IDs (required) — Specify the IDs of the items to delete as a comma-separated string or JSON array. Non-existent IDs are ignored.
- Request Options — Adjust request behavior with options like batching (to split deletions into batches with controlled size and delay), SSL certificate validation, proxy, and request timeout.
Output shape
the operation returns the API response JSON body confirming deletion status, typically including information about success or errors; exact structure depends on the Craft API response
When specifying multiple item IDs, deletion is performed in one request (with optional batching if enabled). Item IDs that do not exist will be silently skipped without causing an error.
Examples
Example 1: Delete multiple collection items by IDs
Specify the collection from which to delete, then provide a list of item IDs (e.g., '123,456' or ['123','456']) to remove those items from the collection.