---
title: "Delete chat message"
method: DELETE
path: "/chat-app/messages/{chatId}/{messageId}"
tags: ["💬 Chat App"]
---

# Delete chat message

`DELETE /chat-app/messages/{chatId}/{messageId}`

This API endpoint empowers logged-in users to seamlessly delete a message in the chat that is sent by them.

By sending a `DELETE` request to this endpoint with the relevant `chatId` and `messageId`, users can effectively remove the specified message, thereby enhancing their control over their chat interactions and facilitating a streamlined and personalized messaging experience.

## Response `200`

Delete chat message

- object
  - `data` object
    - `_id` string
  - `message` string
  - `statusCode` number
  - `success` boolean

---

[API](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi.md) · [All operations](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hiteshchoudhary-ssesph/freeapi/revisions/a9f3a290e4dc/schema)
