---
title: "Delete connection by ID"
method: DELETE
path: "/v3/connections/{connectionId}"
tags: ["Connections"]
---

# Delete connection by ID

`DELETE /v3/connections/{connectionId}`

Delete a specific connection by ID

## Path parameters

- `connectionId` string, required

## Query parameters

- `deleteDocuments` string

## Response `200`

Connection deleted successfully

- object
  - `id` string, required
  - `provider` string, required

## Other responses

- `401` — Unauthorized
- `404` — Connection not found
- `500` — Internal server error

## Changes

- **2026-03-12** `83aebd1251bc` — 1 info
  - added the new optional `query` request parameter `deleteDocuments`
- **2026-01-28** `228aa031e151` — 1 info
  - api operation id `deleteV3Connections:connectionId` removed and replaced with `deleteV3ConnectionsByConnectionId`

[Change history](https://skmtc.dev/supermemoryai/apis/supermemory-api/changes/v3/connections/:connectionId/delete.md)

---

[API](https://skmtc.dev/supermemoryai/apis/supermemory-api.md) · [All operations](https://skmtc.dev/supermemoryai/apis/supermemory-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/supermemoryai/supermemory-api/revisions/f979eba02e97/schema)
