cURL
curl --request DELETE \ --url https://{appid}.api-{region}.cometchat.io/v3/conversations/{conversationId} \ --header 'apikey: <api-key>' \ --header 'onBehalfOf: <onbehalfof>'
{ "data": { "success": true, "message": "The conversation group_project-group has been deleted successfully for all the users." } }
This API is deprecated please use Reset User/GroupConversation API
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
UID of the user on whose behalf the action is performed.
(Required) conversation id
Deleted Conversations