---
title: "Clear system logs"
method: DELETE
path: "/api/server/logs"
tags: ["logs"]
---

# Clear system logs

`DELETE /api/server/logs`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/server/logs`
- Auth: none declared

Clear all system logs

## Response `200`

Logs cleared successfully

- object
  - `status` string
  - `message` string

## Other responses

- `500`: Error clearing logs

---

[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)
