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

# Delete a Flow Builder connection

> Deletes a connection. A connection used by an HTTP request block of any flow (draft or published definition) cannot be deleted. Administrator access is required.



## OpenAPI

````yaml /openapi/application.json delete /api/v1/accounts/{account_id}/flow_builder/connections/{id}
openapi: 3.1.0
info:
  title: WiseApp API — Aplicação
  description: >-
    Referência completa da API do WiseApp: plataforma (provisionamento),
    aplicação (conta), cliente (canais públicos) e MCP.
  version: 1.1.0
servers:
  - url: https://chat.wiseapp360.com
    description: Sua instalação WiseApp
security: []
paths:
  /api/v1/accounts/{account_id}/flow_builder/connections/{id}:
    parameters:
      - $ref: '#/components/parameters/account_id'
        schema:
          type: string
        example: sample
      - name: id
        in: path
        required: true
        description: Connection identifier.
        schema:
          type: integer
        example: 3
    delete:
      tags:
        - Flow Builder
      summary: Delete a Flow Builder connection
      description: >-
        Deletes a connection. A connection used by an HTTP request block of any
        flow (draft or published definition) cannot be deleted. Administrator
        access is required.
      operationId: delete-flow-builder-connection
      responses:
        '204':
          description: Connection deleted. No response body is returned.
        '401':
          description: >-
            Unauthenticated, not a member of the account, or not an account
            administrator (Flow Builder is administrator-only).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/flow_builder_error'
              example:
                error: You are not authorized to do this action
        '403':
          description: The Flow Builder feature is not enabled for this account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/flow_builder_error'
              example:
                error: Flow Builder is not enabled for this account
        '404':
          description: Resource not found in the account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/flow_builder_error'
              example:
                error: Resource could not be found
        '422':
          description: The connection is used by flows.
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                  - flows
                properties:
                  error:
                    type: string
                    example: This connection is used by flows
                  flows:
                    type: array
                    description: Names of the flows that use the connection.
                    items:
                      type: string
                    example:
                      - Order status bot
              example:
                message: Validation failed
                attributes:
                  - name cannot be blank
      security:
        - userApiKey: []
components:
  parameters:
    account_id:
      in: path
      name: account_id
      schema:
        type: integer
      required: true
      description: The numeric ID of the account
  schemas:
    flow_builder_error:
      type: object
      description: >-
        Error returned by Flow Builder endpoints when the feature is disabled,
        the user is not authorized or the resource is missing.
      required:
        - error
      properties:
        error:
          type: string
          description: Human-readable error message.
          example: Flow Builder is not enabled for this account
  securitySchemes:
    userApiKey:
      type: apiKey
      in: header
      name: api_access_token
      description: >-
        Token de acesso do usuário (Perfil → Token de acesso). Dá acesso
        conforme o papel do usuário e age em nome dele.

````

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