Authorizations
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Body
application/json
UIDs that needs to reactivated.
Response
200 - application/json
re-activated users
curl --request PUT \
  --url https://{appid}.api-{region}.cometchat.io/v3/users \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "uidsToActivate": [
    "tag1"
  ]
}'{
  "data": {
    "nonDeactivatedUids": [
      "superhero2",
      "superhero3"
    ]
  }
}Reactivates users for the specified UIDs
curl --request PUT \
  --url https://{appid}.api-{region}.cometchat.io/v3/users \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "uidsToActivate": [
    "tag1"
  ]
}'{
  "data": {
    "nonDeactivatedUids": [
      "superhero2",
      "superhero3"
    ]
  }
}API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
UIDs that needs to reactivated.
re-activated users
Show child attributes
Was this page helpful?