Delete Conversation

Use this API to delete a one-to-one or group conversation

Parameter Description

ParameterRequiredDefaultDescription
userIdNoUser for which you want to delete the thread
groupIdNoGroup for which you want to delete the thread

Note:

1) For Delete Conversation in Group send groupId as a parameter.

2) For Delete Conversation in One to One Chat send userId as a parameter.

Response:

ParameterDescription
successRequest is successfully processed
errorThis will come if any exception occurs on the server or all the parameters are null. In case of any exception contact [email protected]

📘

Note:

In case of Application Admin calling the API, Of-User-Id header required too. Of-User-Id is the userId of the user on behalf of which application admin wants to delete the conversation.

Language
Authentication
Click Try It! to start a request and see the response here!