# Delete connection

`DELETE /v1/organizations/{organization}/connections/{connection}`, operation `connections.DeleteConnection`

Deletes a connection. A connection in use is deleted only with force, which deletes what uses it too.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `organization` | path | Yes | `string` | The organization's ID. |
| `connection` | path | Yes | `string` | The connection's ID. |
| `force` | query | No | `boolean` | Deletes the connection even when kosem's products use it, and what they made of it, such as access profiles. Without it, deleting a connection in use fails with failed_precondition. |

## Responses

### 204

No Content

### default

Error

Base URL: `https://api.kosem.ai`. See [API conventions](https://docs.kosem.ai/reference/api-conventions.md) for authentication, pagination and errors, and [https://docs.kosem.ai/openapi.yaml](https://docs.kosem.ai/openapi.yaml) for the full OpenAPI document.