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

# Delete config

> Deletes a pipeline configuration and tears down any active deployment.

Deletes the pipeline configuration and tears down its active deployment, if any. This action cannot be undone.

> [!NOTE]
>
> **Required permission:** `manage` — owners only.

**Path parameters:**

| Parameter | Description |
| :- | :- |
| `config_id` | Pipeline configuration ID |

```bash theme={null}
curl -X DELETE https://api.allium.so/api/v1/beam/${CONFIG_ID} \
  -H "X-API-Key: ${ALLIUM_API_KEY}"
```

**Response:**

```json theme={null}
{ "message": "Pipeline abc123 successfully deleted" }
```

> [!WARNING]
>
> Deleting a pipeline permanently removes its config, filter values, Kafka sink topics, and deployment. To stop the pipeline and keep its config, use [Teardown](https://docs.allium.so/beam/api-reference/deployment/teardown.md).


## OpenAPI

````yaml _openapi/beam-api.json DELETE /api/v1/beam/{config_id}
openapi: 3.1.0
info:
  title: Allium Beam API
  description: Allium Beam — managed streaming pipelines on top of Allium Datastreams.
  version: 1.0.0
servers:
  - url: https://api.allium.so
security: []
paths:
  /api/v1/beam/{config_id}:
    delete:
      tags:
        - BEAM
      summary: Delete Beam Config Handler
      operationId: delete_beam_config_handler_api_v1_beam__config_id__delete
      parameters:
        - name: config_id
          in: path
          required: true
          schema:
            type: string
            title: Config Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BeamMessageResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyBearer: []
components:
  schemas:
    BeamMessageResponse:
      properties:
        message:
          type: string
          title: Message
      type: object
      required:
        - message
      title: BeamMessageResponse
    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
  securitySchemes:
    APIKeyBearer:
      type: apiKey
      in: header
      name: X-API-KEY

````