Skip to main content
POST
/
jobs
/
{job_qrn}
/
cancel
Cancel Job
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"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.qbraid.com/llms.txt

Use this file to discover all available pages before exploring further.

{
  "success": true,
  "data": {
    "message": "Job cancellation initiated successfully",
    "jobQrn": "qbraid:job:abc123xyz",
    "status": "CANCELLING"
  }
}

Authorizations

X-API-KEY
string
header
required

Authenticate requests using an API key linked to your qBraid account. Obtain your key by registering or logging in at account.qbraid.com.

Path Parameters

job_qrn
string
required

Job QRN (qBraid Resource Name)

Response

Successful Response

Response schema for job cancellation

success
boolean
required

Whether the cancellation was initiated successfully

data
object
required