This page documents the canonical HTTP contract for this endpoint.
This is a soft delete: matching tasks are completed with status skipped; status events are emitted and lead next-activity summaries are refreshed. It does not physically remove task records.
Query parameters
actorUserId· optionalstring
Optional actor override.
| Name | Type | Description |
|---|---|---|
| actorUserId | string | Optional actor override. |
Body parameters
task_ids· optionalarray<string>
Explicit task IDs. Provide either task_ids or selection.
selection· optionalobject
Bulk selection object with mode (ids or descriptor), descriptor filter, search, etc.
| Name | Type | Description |
|---|---|---|
| task_ids | array<string> | Explicit task IDs. Provide either task_ids or selection. |
| selection | object | Bulk selection object with mode (ids or descriptor), descriptor filter, search, etc. |
Errors
| Status | Meaning |
|---|---|
| 400 | Invalid task IDs or selection exceeds limit. |
| 401 | Invalid API key or missing auth. |
| 403 | Missing tasks:write scope. |
