jobs
Cancel Job
Cancel a job by its job_id.
This endpoint marks a job as cancelled, which will cause any associated agent execution to terminate as soon as possible.
patch/v1/jobs/{job_id}/cancel
Path parameters
job_idstring required
Response
Successful Response
Example response
{
"id": "job-123e4567-e89b-12d3-a456-426614174000"
}Changes
Changed in 1 of the 36 revisions of this API.2
- ○
added the optional property
agent_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
backgroundto the response with the200statusresponse-optional-property-added
- ○