---
agentTools:
  projectIndex: https://uspacy.readme.io/llms.txt
---

# Delete funnel

Deletes a funnel. Cannot delete the default funnel.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "CRM service",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://{domain}.uspacy.ua",
      "description": "Ukrainian server"
    },
    {
      "url": "https://{domain}.uspacy.eu",
      "description": "EU server"
    },
    {
      "url": "https://{domain}.uspacy.com.br",
      "description": "Brazilian server"
    },
    {
      "url": "https://{domain}.uspacy.com",
      "description": "International server"
    }
  ],
  "tags": [
    {
      "name": "pipeline",
      "description": "Funnels, kanban stages, and reasons"
    }
  ],
  "paths": {
    "/crm/v1/entities/{entity}/funnel/{funnelId}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/entity"
        },
        {
          "$ref": "#/components/parameters/funnelId"
        }
      ],
      "delete": {
        "tags": [
          "pipeline"
        ],
        "summary": "Delete funnel",
        "description": "Deletes a funnel. Cannot delete the default funnel.",
        "responses": {
          "204": {
            "description": "No content"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "responses": {
      "UnauthorizedError": {
        "description": "Access token is missing or invalid"
      }
    },
    "parameters": {
      "entity": {
        "name": "entity",
        "in": "path",
        "description": "Entity table name",
        "required": true,
        "schema": {
          "type": "string",
          "enum": [
            "leads",
            "deals",
            "contacts",
            "companies"
          ]
        },
        "example": "leads"
      },
      "funnelId": {
        "name": "funnelId",
        "in": "path",
        "description": "Funnel ID",
        "required": true,
        "schema": {
          "type": "integer"
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 105,
      "1": 145,
      "2": 108,
      "3": 28,
      "4": 165,
      "5": 162,
      "6": 20,
      "7": 148,
      "8": 43,
      "9": 242,
      "10": 235,
      "11": 56
    }
  }
}
```