v1
latestOpenAPI 3.1.02026-07-26102230.9 KBjobs
Cancel Job
Cancel a quantum job.
Args:
- job_qrn (string): Job QRN (qBraid Resource Name)
Returns:
- Object containing a confirmation message, the job QRN, and the updated status
Raises:
- 400: Job is in an invalid state for cancellation or vendor is not supported
- 404: Job is not found
- 422: Validation error if the job_qrn parameter is invalid
post/jobs/{job_qrn}/cancel
Path parameters
job_qrnstring required
Job QRN (qBraid Resource Name)
Job QRN (qBraid Resource Name)
Response
Successful Response
Example response
{
"data": {
"message": "Job cancellation initiated successfully",
"jobQrn": "qbraid:job:abc123xyz",
"status": "CANCELLING"
}
}