---
title: "Delete connection"
method: DELETE
path: "/connect/{namespace}/{connectionId}"
tags: ["connect"]
---

# Delete connection

`DELETE /connect/{namespace}/{connectionId}`

## Request

- Base URL: `https://api.smithery.ai`
- URL: `https://api.smithery.ai/connect/{namespace}/{connectionId}`
- Auth: HTTP bearer

Delete a connection and terminate its MCP session. Requires API key and namespace ownership.

## Path parameters

- `namespace` string, required
- `connectionId` string, required

## Response `200`

Connection deleted

- Success
  - `success` true, required

## Other responses

- `400`: Bad request
- `404`: Namespace or connection not found

## Changes

- **2026-10-16** `17463ce9a13a`: 1 info
  - endpoint added
- **2026-04-24** `3f57836881dd`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/changes/connect/:namespace/:connectionId/delete.md)

---

[API](https://skmtc.dev/smithery-ai/apis/smithery-platform-api.md) - [All operations](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/revisions/17463ce9a13a?raw)
