> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ionworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cancel multiple pipelines

> Cancel several pipelines in one request.

Marks every selected pipeline (and its non-terminal elements) canceled and
offloads all running-job terminations to a single background task, avoiding
the per-pipeline request loop the frontend used to run.



## OpenAPI

````yaml https://api.ionworks.com/openapi.json post /pipelines/cancel
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://api.ionworks.com
    description: Production
security: []
paths:
  /pipelines/cancel:
    post:
      tags:
        - Pipeline
      summary: Cancel multiple pipelines
      description: >-
        Cancel several pipelines in one request.


        Marks every selected pipeline (and its non-terminal elements) canceled
        and

        offloads all running-job terminations to a single background task,
        avoiding

        the per-pipeline request loop the frontend used to run.
      operationId: cancel_pipelines_pipelines_cancel_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkCancelPipelinesRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkCancelPipelinesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    BulkCancelPipelinesRequest:
      properties:
        pipeline_ids:
          items:
            type: string
          type: array
          maxItems: 100
          minItems: 1
          title: Pipeline Ids
      type: object
      required:
        - pipeline_ids
      title: BulkCancelPipelinesRequest
    BulkCancelPipelinesResponse:
      properties:
        canceled_pipeline_ids:
          items:
            type: string
          type: array
          title: Canceled Pipeline Ids
      type: object
      required:
        - canceled_pipeline_ids
      title: BulkCancelPipelinesResponse
    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
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````