# Delete model in project

`DELETE /v1/projects/{project}/models/{model}`, operation `models.DeleteModelInProject`

Deletes a model. Requests for it then fail.

An organization's model that projects adopted fails with failed_precondition, and the reason MODEL_ADOPTED, unless force is set, which deletes their adoptions too.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `project` | path | Yes | `string` | The project's ID. |
| `model` | path | Yes | `string` | The model's ID. |
| `force` | query | No | `boolean` | For an organization's model: deletes it even when projects adopted it, and their adoptions too. Without it, deleting an adopted model 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.