Delete Dialog
Delete a chat dialog.
Recipes
Delete dialogs from your own chat history
Delete dialogs from your own chat history
1. Set dialogs IDs that should be removed
dialogs IDs as you need via comma.2. As a result, the dialogs will be removed for a user who has sent the request, not for all dialog participants.
Delete dialogs from all chat histories
Delete dialogs from all chat histories
1. Specify if you want to delete dialogs for all dialog participants
force=1 and dialogs will be removed for all users participating in the dialog.2. Set dialogs IDs that should be removed
3. As a result, the API will return the `SuccessfullyDeleted` response.
Delete dialogs from specific user chat history with API key
Delete dialogs from specific user chat history with API key
1. Use 'Authorization' header to pass API key
2. Use 'On-Behalf-Of' header to pass user_id
3. Set dialogs IDs that should be removed
4. As a result, the dialogs will be removed for a user who has sent the request, not for all dialog participants.
Delete dialogs with API key
Delete dialogs with API key
1. Use 'Authorization' header to pass API key
2. Use 'On-Behalf-Of' header to pass user_id
3. Set dialogs IDs that should be removed
4. As a result, the dialogs will be removed for all dialog participants.
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
Body Parameters
force=1 to perform. Only the owner can do it. Headers
ApiKey {your_api_key}. Must be used either QB-Token or Authorization.