## Delete Agent by ID

**delete** `/agents/{agent_id}`

Delete an agent by its unique ID.

### Path Parameters

- `agent_id: string`

### Returns

- `DeleteResponse object { id, message }`

  - `id: string`

  - `message: string`

### Example

```http
curl http://localhost:5003/agents/$AGENT_ID \
    -X DELETE \
    -H "Authorization: Bearer $AGENTEX_SDK_API_KEY"
```

#### Response

```json
{
  "id": "id",
  "message": "message"
}
```
