---
title: "Delete model"
method: DELETE
path: "/projects/{project_id}/models/{model_id}"
tags: ["models"]
---

# Delete model

`DELETE /projects/{project_id}/models/{model_id}`

## Path parameters

- `project_id` integer, required
- `model_id` integer, required

## Response `200`

OK

## Other responses

- `400` — There are other entity still using this model (model version endpoint / model endpoint / prediction jobs)
- `404` — Project/Model with given id not found
- `500` — Deletion failed

## Changes

> 34 revisions in range; 4 not diffed, 1 could not be searched.

- **2024-01-23** `c3ef0b1c733b` — 1 info
  - added the media type `*/*` for the response with the status `200`
- **2023-12-05** `d062ab20ef25` — 1 breaking
  - removed the media type `*/*` for the response with the status `200`
- **2023-06-26** `1acc210e5f90` — 1 info
  - endpoint added
- **2020-09-28** `c4b3505de7df` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/caraml-dev/apis/merlin/changes/projects/:project_id/models/:model_id/delete.md)

---

[API](https://skmtc.dev/caraml-dev/apis/merlin.md) · [All operations](https://skmtc.dev/caraml-dev/apis/merlin/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/caraml-dev/merlin/revisions/a1e12cbeeebc/schema)
