> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orkeia.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete AI Model

> Remove a model and its subdocuments.

## Endpoint

`DELETE https://gateway.orkeia.ai/ai-models/{id}`

## Headers

Requires header `authorization: <your_token>`.

```http theme={null}
authorization: <your_token>
Content-Type: application/json
```

## Route Parameters

* `id` — Model ID (e.g., `MODEL_67890`)

## Request Body

```json theme={null}
{
  "environment": {
    "company": "acme-inc",
    "sector": "engineering"
  }
}
```

## Response (200)

```json theme={null}
{
  "status": "OK",
  "data": { "true"}
}
```

## Error Codes

### 500 — Server Error

```json theme={null}
{
  "status": "ERROR",
  "code": "server/error",
  "data": null
}
```

### 400 — Client Error

```json theme={null}
{
  "status": "ERROR",
  "code": "client/error",
  "data": null
}
```
