Cancel a job
Changed onRequest cancellation of a job. Cancellation is asynchronous (HTTP 202).
Request
- Base URLhttps://api-v2.qbraid.com/api/v1
- URLhttps://api-v2.qbraid.com/api/v1/jobs/{job_qrn}/cancel
- AuthAPI key in header X-API-KEY
Path parameters
The job qrn (qBraid Resource Name).
Response
Cancellation initiated.
Example response
{
"success": true,
"data": {
"message": "Job cancellation initiated successfully"
}
}Changes
- breaking
for the
pathrequest parameterjob_qrn, the minLength was increased from0to1 - warning
removed the optional property
from the response with the status - warning
added the new
CANCELLEDenum value to the/response property for the response status - warning
added the new
CANCELLINGenum value to the/response property for the response status - warning
added the new
COMPLETEDenum value to the/response property for the response status - warning
added the new
FAILEDenum value to the/response property for the response status - warning
added the new
HOLDenum value to the/response property for the response status - warning
added the new
INITIALIZINGenum value to the/response property for the response status - warning
added the new
QUEUEDenum value to the/response property for the response status - warning
added the new
RUNNINGenum value to the/response property for the response status - warning
added the new
UNKNOWNenum value to the/response property for the response status - warning
added the new
VALIDATINGenum value to the/response property for the response status - info
api operation id
cancel_job_jobs__job_qrn__cancel_postremoved and replaced withcancelJob - info
api tag
Jobsadded - info
api tag
jobsremoved - info
removed the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking