Description
Updates the user's profile with the information saved in the attribute list.
Attributes that are not mentioned are not changed.
Note: There is also a user replaceProfile method to
1) change the entire profile of a user and
2) to delete attribute values if the attribute is not mentioned for the user.
Available from
v1
POST [REST URL]/user/updateProfile
Parameter
Type
userId
Long
ID of the user
list of Attribute
Example body
[ {"name" : "user.firstname", "value" : "John"}, {"name" : "user.lastname", "value" : "Smith"}, {"name": "user.ISOCountryCode", "value": "FR"} ]
Example body 2 - erase mobile number
[ {"name" : "user.MobileNumber", "value" : null} ]