> ## 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.

> Elimina un agente.

# Agents delete

## Endpoint

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

## Encabezados

```
authorization:  <tu_token>
Content-Type: application/json
```

### Parámetros de la ruta

Envía el id del agente a eliminar como query parameter.

```json theme={null}
{
  "id": "ID del agente (obligatorio)"
}
```

### Ejemplo (cURL)

```bash theme={null}
curl -X DELETE "https://gateway.orkeia.ai/agents/agent123" \
  -H "authorization:  <tu_token>"
```

## Respuestas

### Response - Éxito

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

### 500 — Solicitud Incorrecta

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

### 400 — Error del Cliente

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