Permanently delete a task.
Required Role: ADMIN or OWNER
⚠️ WARNING: Tasks with execution history CANNOT be deleted!
Important:
POST /tasks/{task_id}/archiveWhy this restriction: Execution history contains immutable audit records required for compliance. Deleting executions would destroy historical usage metrics and transfer logs.
Deleting a task:
Validation:
Recommendation: Use archive instead of delete to preserve history.