> ## 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.

# Delete Multiple Jobs

> Delete multiple quantum jobs by their job QRNs.

**Query Parameters:**
- **qrns** (string, required): JSON array of job QRNs to delete (e.g., ["qrn1", "qrn2"])

**Returns:**
- Object containing arrays of successfully deleted and failed job QRNs

**Raises:**
- **422**: Validation error if the qrns parameter is invalid

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "data": {
      "successfulIds": ["qbraid:job:abc123xyz", "qbraid:job:def456uvw"],
      "failedIds": {
        "qbraid:job:invalid123": "Job not found"
      }
    }
  }
  ```
</ResponseExample>


## OpenAPI

````yaml delete /jobs
openapi: 3.1.0
info:
  title: qBraid Runtime API
  description: FastAPI backend powering qBraid's quantum runtime microservice.
  version: '2'
servers:
  - url: https://api-v2.qbraid.com/api/v1
    description: Live Server
security:
  - ApiKeyAuth: []
paths:
  /jobs:
    delete:
      tags:
        - jobs
      summary: Delete Multiple Jobs
      description: >-
        Delete multiple quantum jobs by their job QRNs.


        **Query Parameters:**

        - **qrns** (string, required): JSON array of job QRNs to delete (e.g.,
        ["qrn1", "qrn2"])


        **Returns:**

        - Object containing arrays of successfully deleted and failed job QRNs


        **Raises:**

        - **422**: Validation error if the qrns parameter is invalid
      operationId: delete_multiple_jobs_jobs_delete
      parameters:
        - name: qrns
          in: query
          required: true
          schema:
            type: string
            description: JSON array of job QRNs to delete
            title: Job QRNs
          description: >-
            JSON array of job QRNs to delete (e.g., ["qbraid:job:abc123",
            "qbraid:job:xyz789"])
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteMultipleJobsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DeleteMultipleJobsResponse:
      properties:
        success:
          type: boolean
          title: Success
          description: Whether the operation completed
        data:
          type: object
          properties:
            successfulIds:
              type: array
              items:
                type: string
              description: Array of job QRNs that were successfully deleted
            failedIds:
              type: object
              additionalProperties:
                type: string
              description: Object mapping failed job QRNs to their error messages
          required:
            - successfulIds
            - failedIds
      type: object
      required:
        - success
        - data
      title: DeleteMultipleJobsResponse
      description: Response schema for multiple job deletion
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: >-
        Authenticate requests using an API key linked to your qBraid account.
        Obtain your key by registering or logging in at
        [account.qbraid.com](https://account.qbraid.com).

````