## Delete a message **delete** `/v1/chats/{chatID}/messages/{messageID}` Delete a message by final message ID. Pending message IDs are not accepted because messages cannot be deleted while sending. ### Path Parameters - `chatID: string` Chat ID. Input routes also accept the local chat ID from this installation when available. - `messageID: string` Message ID. ### Query Parameters - `forEveryone: optional boolean` True to request deletion for everyone when the network supports it; false to delete only for the authenticated user when supported. ### Example ```http curl http://localhost:23373/v1/chats/$CHAT_ID/messages/$MESSAGE_ID \ -X DELETE \ -H "Authorization: Bearer $BEEPER_ACCESS_TOKEN" ```