put https://{appid}.api-{region}.cometchat.io/v3/users/
Updates a user with the provided UID
The user info can be updated using this API.
For a detailed description of the User properties please visit here
Request sample:
PUT /users/:uid HTTP/1.1
Content-type: application/json
Accept: application/json
{
"name": "string",
"avatar": "URL string",
"link": "URL string",
"role": "string",
"metadata": {
"any key": "value pair",
"@private":{
"email": "string",
"contactNumber": "string"
},
},
"tags":["array of string"],
"unset": ["array of string"]
}