---
title: "Delete all channel messages (deprecated)"
method: DELETE
path: "/api/messaging/central-channels/{channelId}/messages"
tags: ["messaging"]
deprecated: true
---

# Delete all channel messages (deprecated)

`DELETE /api/messaging/central-channels/{channelId}/messages`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/messaging/central-channels/{channelId}/messages`
- Auth: none declared

> **Deprecated.**

Delete all messages in a channel. Use DELETE /channels/{channelId}/messages instead.

## Path parameters

- `channelId` string, uuid, required

## Response `200`

Messages deleted successfully

- object
  - `success` boolean
  - `deleted` integer

## Other responses

- `404`: Channel not found

## Changes

- **2026-11-03** `d606a12682bb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/elizaos/apis/eliza-os-api/changes/api/messaging/central-channels/:channelId/messages/delete.md)

---

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