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

# Delete connection

`DELETE /{namespace}/{connectionId}`

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-05-03** `668cd0a22a58` — 1 info
  - api operation id `delete:namespace:connectionId` removed and replaced with `deleteSmithery.run:namespace:connectionId`
- **2026-04-24** `3f57836881dd` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/changes/: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-service-production.skmtc.workers.dev/v1/apis/smithery-ai/smithery-platform-api/revisions/60b8c3d2fecf/schema)
