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

# Delete a pipeline

> Deletes a pipeline. The pipeline must be in a terminal state (Stopped, Finished, or Failed).



## OpenAPI

````yaml /openapi/ingest.yaml delete /pipelines/{id}
openapi: 3.1.0
info:
  title: Ingest Engine HTTP API
  version: '1.0'
  description: >
    The Ingest Engine exposes an HTTP API for managing pipelines, connections,
    and jobs programmatically.


    All responses are JSON. Errors return an object with an `error` message.


    List endpoints use cursor-based pagination. Responses contain a `data` array
    and a `has_more` flag.

    Pass `?starting_after=<last_id>&limit=10` to get the next page.
servers:
  - url: http://{controllerHost}:8000/api/v1
    description: The Ingest Engine controller.
    variables:
      controllerHost:
        default: localhost
        description: Host name of the Ingest Engine controller.
security:
  - bearerAuth: []
tags:
  - name: Pipelines
    description: Create, update, restart, and delete pipelines.
  - name: Jobs
    description: >-
      A job is a single execution of a pipeline. Each time a pipeline starts or
      restarts, a new job is created.
  - name: Connection profiles
    description: >-
      A connection profile stores reusable connection credentials, such as Kafka
      bootstrap servers and authentication.
  - name: Connection tables
    description: >-
      A connection table defines a specific source or sink, binding a connector,
      connection profile, schema, and table-specific configuration together.
  - name: Connectors
    description: Metadata about available connectors.
  - name: Health
    description: Health checks.
paths:
  /pipelines/{id}:
    parameters:
      - $ref: '#/components/parameters/PipelineIdPath'
    delete:
      tags:
        - Pipelines
      summary: Delete a pipeline
      description: >-
        Deletes a pipeline. The pipeline must be in a terminal state (Stopped,
        Finished, or Failed).
      operationId: deletePipeline
      responses:
        '200':
          description: Pipeline deleted.
        default:
          $ref: '#/components/responses/Error'
components:
  parameters:
    PipelineIdPath:
      name: id
      in: path
      required: true
      description: The pipeline ID.
      schema:
        type: string
  responses:
    Error:
      description: Error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Descriptive error message.
      example:
        error: descriptive error message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Send the API token as `Authorization: Bearer <token>`.'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.