cURL
curl --request DELETE \ --url https://{appid}.api-{region}.cometchat.io/v3/groups/{guid}/conversation \ --header 'apikey: <api-key>' \ --header 'onBehalfOf: <onbehalfof>'
{ "data": { "success": true, "message": "The conversation superhero1_user_superhero2 has been deleted successfully for UID superhero1." } }
Resetting Group Conversation
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
UID of the user on whose behalf the action is performed.
GUID of the group whose conversation needs to be fetched.
Resetted user Conversations
Was this page helpful?