---
title: "Delete a model"
method: DELETE
path: "/v1/namespaces/{namespace_id}/models/{model_id}"
tags: ["Custom Models"]
---

# Delete a model

`DELETE /v1/namespaces/{namespace_id}/models/{model_id}`

Delete a custom model from the namespace.

## Path parameters

- `namespace_id` string, required
- `model_id` string, required

## Response `200`

Successful Response

- ModelDeleteResponse — Response model for model deletion.
  - `success` boolean
  - `model_id` string, required
  - `message` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Model not found
- `422` — Validation Error
- `500` — Internal Server Error

---

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