Cancel Task
Changed onCancel 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
Request
- The document declares no server URL.
- Authnone declared
Path parameters
task_idstring required
Query parameters
stop_mode'immediate' | 'request' | 'confirm'
Request body
Response
Successful Response
Changes
- info
added the new optional
queryrequest parameterstop_mode
- info
- info
added the optional property
to the response with the status
- info