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

# Remover Agente

> Remove um agente.

## Endpoint

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

## Cabeçalhos

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

### Parâmetros de caminho

Envie o id do agente a ser deletado como query parameter.

```json theme={null}
{
  "id": "ID do agente (obrigatório)"
}
```

### Exemplo (cURL)

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

## Respostas

### Response - Success

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

### 500 — Bad Request

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

### 400 — Client Error

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