---
title: "Delete an MCP endpoint"
method: DELETE
path: "/api/mcp_endpoints/{heron_id}"
tags: ["MCP endpoints"]
---

# Delete an MCP endpoint

`DELETE /api/mcp_endpoints/{heron_id}`

## Request

- Base URL: `https://app.herondata.io`
- URL: `https://app.herondata.io/api/mcp_endpoints/{heron_id}`
- Auth: API key in header `x-api-key`

Deletes the endpoint. Its MCP server URL stops resolving immediately.

## Path parameters

- `heron_id` string, required

## Response `204`

Endpoint deleted

## Other responses

- `403`: Only the organization's admins and Heron admins can manage MCP endpoints
- `404`: Endpoint not found

## Changes

- **2026-11-03** `bd8008e49534`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/herondata/apis/heron-data-api/changes/api/mcp_endpoints/:heron_id/delete.md)

---

[API](https://skmtc.dev/herondata/apis/heron-data-api.md) - [All operations](https://skmtc.dev/herondata/apis/heron-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/herondata/apis/heron-data-api/revisions/1ec936e17fef?raw)
