---
title: "Deletes an existing model."
method: DELETE
path: "/api/projects/{projectName}/models/{modelName}"
---

# Deletes an existing model.

`DELETE /api/projects/{projectName}/models/{modelName}`

Deletes a model in the project.

## Path parameters

- `projectName` string, required
- `modelName` string, required

## Response `200`

Empty response if delete is successful

- string

## Other responses

- `401` — Invalid API key error message
- `404` — Project or model not found
- `500` — Server error

---

[API](https://skmtc.net/mindsdb/apis/mindsdb-api.md) · [All operations](https://skmtc.net/mindsdb/apis/mindsdb-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mindsdb/mindsdb-api/versions/387ff52538f9/schema)
