post https://apps.applozic.com/rest/ws/user/delete
Use this API to delete a user
Request Parameter Description:
Parameter | Required | Default | Description |
---|---|---|---|
reset | No | false | Reset user detail from backend(Display name, email, profile image, phone number etc) |
Note:
In case of Application Bot, Of-User-Id header is required. Of-User-Id is the userId of the user for which Application Bot wants to delete the user.
This api will delete all data of a user but other users can see chat history if any chat exist for them.
If you pass reset=true in api then it will reset user detail from backend. User's display name will be updated to “Unknown User” . Email, profile image and phone number will reset to empty.