---
title: "Delete a custom model"
method: DELETE
path: "/api/models/{model_name}/"
tags: ["models"]
---

# Delete a custom model

`DELETE /api/models/{model_name}/`

Delete a custom model by model name.

## Path parameters

- `model_name` string, required

## Headers

- `Authorization` string, required

## Response `200`

Successful response

## Other responses

- `401` — Unauthorized - Missing or invalid authentication
- `403` — Forbidden
- `404` — Not Found

## Changes

> 6 revisions in range; 2 could not be searched.

- **2026-08-13** `4e064cf81dae` — 3 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
- **2026-07-31** `c26d550029f8` — 3 info
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `403`
  - removed the non-success response with the status `404`

[Change history](https://skmtc.dev/keywordsai/apis/api-reference/changes/api/models/:model_name/delete.md)

---

[API](https://skmtc.dev/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.dev/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/keywordsai/api-reference/revisions/c61efaf24756/schema)
