---
title: "Delete a message (soft delete)"
method: DELETE
path: "/api/chat/rooms/{roomId}/messages/{messageId}"
tags: ["chat"]
---

# Delete a message (soft delete)

`DELETE /api/chat/rooms/{roomId}/messages/{messageId}`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/chat/rooms/{roomId}/messages/{messageId}`
- Auth: HTTP bearer

## Path parameters

- `roomId` number, required
- `messageId` number, required

## Response `200`

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
