π¬ Chat App
Delete chat message
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.
delete/chat-app/messages/{chatId}/{messageId}
Request
- Base URLhttps://api.freeapi.app/api/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Delete chat message
Example response
{
"data": {
"_id": "648e0746aeefd0cfa40adddf"
},
"message": "Message deleted successfully",
"statusCode": 200,
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.