Chat
Delete Dialog
Delete a chat dialog.
DELETE
Recipes
Delete dialogs from your own chat history
Delete dialogs from your own chat history
Delete dialogs from all chat histories
Delete dialogs from all chat histories
1. Specify if you want to delete dialogs for all dialog participants
You can delete dialogs from the histories of all dialog participants. Just set the
force=1 and dialogs will be removed for all users participating in the dialog.Delete dialogs from specific user chat history with API key
Delete dialogs from specific user chat history with API key
Delete dialogs with API key
Delete dialogs with API key
occupant_ids field can remove the dialog. It does not mean that this dialog will be removed completely for all users in this dialog. It will be removed only for a current user.
To completely remove a dialog, pass force=1. Only the owner can do it.
Path Parameters
ID of the dialog to which a current message is connected. Generated automatically by the server after message creation
Body Parameters
Delete a dialog for everyone. Set
force=1 to perform. Only the owner can do it. Headers
A user or application session token. See Authentication page to learn more about session tokens. Must be used either QB-Token or Authorization.
API key from Dashboard. Expected format:
ApiKey {your_api_key}. Must be used either QB-Token or Authorization.User ID. The user ID of the user on whose behalf the request is being made.
Responses
200
200
A successful response
403
403
An error response
404
404
An error response