curl --request POST \
--url https://api.example.com/api/v2/tasks/{taskId}/cancel{
"message": "<string>"
}Marks a specified task as cancelled, preventing it from being executed. This also halts the execution of any subsequent tasks in the workflow.
curl --request POST \
--url https://api.example.com/api/v2/tasks/{taskId}/cancel{
"message": "<string>"
}