dambel

دمبل

shevron
ورود | ثبت نام

API Docs / chats / messages / delete



DELETE /api/v1/chats/{chat-id}/messages/{message-id}

Deletes a specific message from a chat.


Permissions

PermissionDescription
chat_messages.deleteDelete your own messages

URL Parameters

NameTypeRequiredDescriptionExample
chat-idintYesID of the chat123
message-idintYesID of the message to delete456

Request Example

DELETE /api/v1/chats/123/messages/456
Authorization: Bearer {token}

Response

204 No Content

No content is returned when the message is successfully deleted.


Error Responses

StatusDescriptionReference
401UnauthorizedAuthentication error
403Forbidden (no permission)Permission error
404Not foundNot-found error
footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutube