cURL
curl --request POST \ --url https://api-v2.qbraid.com/api/v1/jobs/{job_qrn}/cancel \ --header 'X-API-KEY: <api-key>'
{ "success": true, "data": { "message": "Job cancellation initiated successfully", "jobQrn": "qbraid:job:abc123xyz", "status": "CANCELLING" } }
Cancel a quantum job.
Args:
Returns:
Raises:
Authenticate requests using an API key linked to your qBraid account. Obtain your key by registering or logging in at account.qbraid.com.
Job QRN (qBraid Resource Name)
Successful Response
Response schema for job cancellation
Whether the cancellation was initiated successfully
Show child attributes
Was this page helpful?
Suggestions
Contact support