Cancels a running task immediately.
Tip: If you only need to check progress, prefer GET /v2/workflow/get-task-status.
Send your API key in the Authorization header as Bearer <API_KEY>.
The task_id returned by run-task or run-task-by-template.
1Optional business cancellation code (for your own tracking/analytics).
OK. The task was canceled (or was already in a terminal state).