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

# Delete connection

`DELETE /v1/connections/{connectionId}`

<Note>
  This endpoint requires **Connection Admin** permissions.
</Note>

Archives a connection (moves it to trash). Archived connections can be restored from the trash in the Omni app.

This endpoint performs a soft delete. The connection and its associated models and content are moved to trash, and sensitive information such as passwords and keys is permanently deleted.

## Path parameters

- `connectionId` string, uuid, required

## Response `200`

Connection moved to trash successfully

- SuccessResponse
  - `success` boolean

## Other responses

- `400` — Invalid connection ID format (not a valid UUID)
- `401` — Missing or invalid authentication
- `403` — Forbidden. Caller lacks Connection Admin permissions on the connection.
- `404` — Not Found The connection does not exist or belongs to another organization.
- `410` — Gone The connection has already been archived.
- `429` — Too Many Requests - Rate limit exceeded (60 requests/minute)

---

[API](https://skmtc.net/omni/apis/omni-api.md) · [All operations](https://skmtc.net/omni/apis/omni-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/omni/omni-api/revisions/6b02f7349d0e/schema)
