PUT
/
jobs
/
{UUID}
/
status
/
cancel
curl --request PUT \
  --url https://api.ionq.co/v0.3/jobs/{UUID}/status/cancel \
  --header 'Authorization: <api-key>'
{
  "id": "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

Path Parameters

UUID
string
required

The UUID of the job — this UUID is provided in the response on job creation.

Response

200 - application/json
id
string
required

The UUID of a job. We'll provide the UUID initially in our response to a job creation request.

status
enum<string>
required

Status of a job (always canceled).

Available options:
canceled