---
title: "Delete a specific log entry"
method: DELETE
path: "/api/agents/{agentId}/logs/{logId}"
tags: ["logs"]
---

# Delete a specific log entry

`DELETE /api/agents/{agentId}/logs/{logId}`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/agents/{agentId}/logs/{logId}`
- Auth: none declared

Delete a specific log entry for an agent

## Path parameters

- `agentId` string, uuid, required
- `logId` string, uuid, required

## Response `204`

Log entry deleted successfully

## Other responses

- `400`: Invalid agent ID or log ID
- `404`: Agent or log not found
- `500`: Error deleting log

---

[API](https://skmtc.dev/elizaos/apis/eliza-os-api.md) - [All operations](https://skmtc.dev/elizaos/apis/eliza-os-api/llms.txt) - [OpenAPI document](https://skmtc.dev/elizaos/apis/eliza-os-api/revisions/d606a12682bb?raw)
