PUT
/
jobs
/
{UUID}
/
status
/
cancel
curl -X PUT "https://api.ionq.co/v0.2/jobs/617a1f8b-59d4-435d-aa33-695433d7155e/status/cancel" \
  -H "Authorization: apiKey your-api-key"
{
  "id": "aa54e783-0a9b-4f73-ad2f-63983b6aa4a8",
  "status": "canceled"
}

Authorizations

Authorization
string
headerrequired

We provide API keys to govern access—we'll provision your account with one key, and more can be provided upon request.

Every key is fully privileged within the system, and should be kept private.

To authenticate, prefix your API Key with apiKey and place it in the Authorization request header. For example: 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