---
title: "Delete Connection"
method: DELETE
path: "/providers/connections/{conn_id}"
---

# Delete Connection

`DELETE /providers/connections/{conn_id}`

## Request

- Base URL: `https://api-docs.session-exchange.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.session-exchange.com/providers/connections/{conn_id}`
- Auth: none declared

Remove the connection record. Its key secret is left in the vault (delete it by name under
Vault if it is no longer needed). 409 while the stored routing table still uses it, unless
`force=1` — the router keeps serving the last published expansion until a re-publish.

## Path parameters

- `conn_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/session-exchange/apis/a4sx.md) · [All operations](https://skmtc.dev/session-exchange/apis/a4sx/llms.txt) · [OpenAPI document](https://skmtc.dev/session-exchange/apis/a4sx/revisions/abaefc33dfc7?raw)
