> ## 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 flow

> Deletes a flow with its versions, executions and sessions. Administrator access is required.



## OpenAPI

````yaml /openapi/application.json delete /api/v1/accounts/{account_id}/flow_builder/flows/{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/flows/{id}:
    parameters:
      - $ref: '#/components/parameters/account_id'
        schema:
          type: string
        example: sample
      - name: id
        in: path
        required: true
        description: Flow identifier.
        schema:
          type: integer
        example: 12
    delete:
      tags:
        - Flow Builder
      summary: Delete a Flow Builder flow
      description: >-
        Deletes a flow with its versions, executions and sessions. Administrator
        access is required.
      operationId: delete-flow-builder-flow
      responses:
        '204':
          description: Flow 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
      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.