# Delete connection in project

`DELETE /v1/projects/{project}/connections/{connection}`, operation `connections.DeleteConnectionInProject`

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

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `project` | path | Yes | `string` | The project'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.