# Delete provider in project

`DELETE /v1/projects/{project}/providers/{provider}`, operation `providers.DeleteProviderInProject`

Deletes a provider and its key. One that models go through is deleted only with force, which deletes them too.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `project` | path | Yes | `string` | The project's ID. |
| `provider` | path | Yes | `string` | The provider's ID. |
| `force` | query | No | `boolean` | Deletes the provider even when models go through it, and them too: an organization's, with what projects adopted of them, and a project's own. Without it, deleting a provider 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.