Actions17
- Block Actions
- Task Actions
- Collection Actions
- Search Actions
Task → Delete
AI-generatedSummary
Delete one or more tasks from Craft Daily Notes by specifying their IDs.
Inputs
- Task IDs (required) — Task IDs to delete. Provide as comma-separated values or JSON array.
- Request Options — Optional settings such as batching, ignore SSL issues, proxy, and timeout to customize the HTTP request behavior.
Output shape
The operation returns the API response confirming deletion; exact response properties depend on the Craft API but generally indicate successful removal. No direct data output shape is declared.
Task IDs must be specified either as a comma-separated string or a JSON array. The request sends these IDs in the body property 'idsToDelete' via a DELETE request to /tasks. Optional request options can control batching and other HTTP parameters.
Examples
Example 1: Delete multiple tasks using comma-separated IDs
Set 'Task IDs' to a comma-separated string of task identifiers to delete them.
Example 2: Delete multiple tasks using a JSON array of IDs
Set 'Task IDs' to a JSON array string of task identifiers for deletion.