v1
latestOpenAPI 3.1.02026-07-224239180.9 KBScheduling Task
Cancel a scheduling task
Cancels a scheduling task, optionally recording a cancellation reason. Cancellation is rejected when the underlying scheduler reports a conflict. The returned task shows the resulting scheduling state.
delete/v1/tasks/{taskId}
Path parameters
taskIdstring required
a task ID. Accepts the canonical prefixed compact UUID, a prefixed dashed UUID, a bare dashed UUID, or a bare compact UUID; input is case-insensitive.
Example:tsk_a1b2c3d4e5f64789a1b2c3d4e5f64789
Request body
Response
Success
Example response
{
"id": "tsk_a1b2c3d4e5f64789a1b2c3d4e5f64789",
"application": {
"id": "app_a1b2c3d4e5f64789a1b2c3d4e5f64789",
"candidate": {
"id": "can_a1b2c3d4e5f64789a1b2c3d4e5f64789"
},
"job": {
"id": "job_a1b2c3d4e5f64789a1b2c3d4e5f64789"
}
},
"job_stage": {
"id": "stg_a1b2c3d4e5f64789a1b2c3d4e5f64789"
},
"assignee": {
"id": "emp_a1b2c3d4e5f64789a1b2c3d4e5f64789"
},
"queue_id": "que_a1b2c3d4e5f64789a1b2c3d4e5f64789",
"notes": [
{
"author": {
"id": "emp_a1b2c3d4e5f64789a1b2c3d4e5f64789"
}
}
]
}