DELETE
/
jobs
curl -X DELETE "https://api.ionq.co/v0.2/jobs" \
  -H "Authorization: apiKey your-api-key"
  -d '{ \
        "ids": [ \
            "617a1f8b-59d4-435d-aa33-695433d7155e", \
            "2ccf2773-4c28-468e-a290-2f8554808a25", \
            "f92df2b6-d212-4f4a-b9ea-024b58c5c3e8" \
        ] \
    }'
{
  "ids": [
    "aa54e783-0a9b-4f73-ad2f-63983b6aa4a8"
  ],
  "status": "deleted"
}

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

Query Parameters

ids
string[]

A list of job UUIDs

Response

200 - application/json
ids
string[]
required

A list of UUIDs of deleted jobs.

status
enum<string>
required

Status of a job (always deleted).

Available options:
deleted