PUT
/
jobs
/
status
/
cancel
curl --request PUT \
  --url https://api.ionq.co/v0.3/jobs/status/cancel \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json'
{
  "ids": [
    "aa54e783-0a9b-4f73-ad2f-63983b6aa4a8"
  ],
  "status": "canceled"
}

Authorizations

Authorization
string
headerrequired

API keys are associated with a user and can be created on the IonQ Quantum Cloud application. To authenticate, prefix your API Key with apiKey and place it in the Authorization request header. Ex: Authorization: apiKey your-api-key

Body

application/json
ids
string[]

A list of job UUIDs to cancel.

Response

200 - application/json
ids
string[]
required

A list of UUIDs of cancelled jobs.

status
enum<string>
required

Status of a job (always canceled).

Available options:
canceled