Cancel Task
Cancel a task and cascade to all of its descendant subtasks.
Walks the subtask tree (parent_task_id references) via TaskStore.cancel_cascade so that children are not left running after the parent is aborted. Returns the root task.
post/tasks/{task_id}/cancel
Path parameters
task_idstring required
Request body
Response
Successful Response