delete https://{appid}.api-{region}.cometchat.io/v3/users
Deactivates users for the specified UIDs
A maximum of 25 users can be deactivated in a single request.
Deactivating a user removes the user from the CometChat application temporarily.
It also temporarily removes the user from all the groups that they are a part of.
For a detailed description of the User properties please visit here
Request sample:
DELETE /users HTTP/1.1
Content-type: application/json
Accept: application/json
{
"uidsToDeactivate": ["array of strings"]
}