> For the complete documentation index, see [llms.txt](https://deepmode.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://deepmode.gitbook.io/docs/api-endpoints/handling-models/delete-model.md).

# Delete Model

Deletes a specific model.

#### Endpoint

```
DELETE /api/models/{id}
```

#### Parameters

<table><thead><tr><th width="227">Parameter</th><th>Type</th><th>Required</th><th>Description</th></tr></thead><tbody><tr><td><code>id</code></td><td>string</td><td>Yes</td><td>The unique identifier of the model to be deleted.</td></tr></tbody></table>

#### Request Example

{% code overflow="wrap" %}

```bash
curl -X DELETE "https://api.deepmode.ai/api/models/f7e5d1c3a2f91e3d5c6b8" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_SECRET_API_KEY" 
```

{% endcode %}

#### Response

Upon successful deletion, the API returns the following response:

```json
{"message": "Deleted model successfully"}
```
