Reactivates users for the specified UIDs

A maximum of 25 users can be deactivated in a single request.

  • Reactivating users would re-allow the users to be used again in the CometChat application, thus making it active.
  • It would also re-add them to the groups that they were a part of before deactivating.
  • The existing auth tokens of these users can still be used for authenticating.

For a detailed description of the User properties please visit here

Request sample:

PUT /users HTTP/1.1
Content-type: application/json
Accept: application/json

   "uidsToActivate": ["array of strings"]
Click Try It! to start a request and see the response here!