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

# Delete a flow

> Delete a flow. Refused while table columns still run it — the column would survive with nothing behind it and fail on every row. Delete those columns first.

<Warning>
  Refused with `409` while table columns still run this flow — the column would survive with nothing behind it and fail on every row. The response names the blocking columns; delete those columns first.
</Warning>


## OpenAPI

````yaml DELETE /v1/flows/{flow_id}
openapi: 3.1.0
info:
  title: Databar.ai API
  description: >-

    # Authentication


    Databar uses API keys to allow access to the API. You can find your API key
    in your workspace home page, but to use the REST API you’ll first need to
    schedule a call with us.

    Our API expects the API key to be included in all API requests to the server
    in the Header of your request with the key `x-apikey`.

    To find your API key, head over to your Databar workspace and click
    Integrations.


    **Example:**


    `bash

    curl https://api.databar.ai/v1/user/me -H x-apikey: {YOUR_API_KEY}`
  contact:
    email: info@databar.ai
  version: 0.1.2
servers:
  - url: https://api.databar.ai
    description: Production
security: []
paths:
  /v1/flows/{flow_id}:
    delete:
      tags:
        - Flows
      summary: Delete a flow
      description: >-
        Delete a flow. Refused while table columns still run it — the column
        would survive with nothing behind it and fail on every row. Delete those
        columns first.
      operationId: delete_flow_v1_flows__flow_id__delete
      parameters:
        - name: flow_id
          in: path
          required: true
          schema:
            type: string
            title: Flow ID
          description: Flow identifier, e.g. `fl_ab12cd34`
        - name: x-apikey
          in: header
          required: true
          schema:
            type: string
            title: API Key
            description: API Key for authentication
          description: API Key for authentication
      responses:
        '200':
          description: Deleted
          content:
            application/json:
              example:
                status: deleted
        '403':
          description: Forbidden
        '404':
          description: Flow not found
        '409':
          description: Table columns still run this flow; the message names them

````