Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
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 |
Request path
POST [REST URL]/user/updateProfile
Query Parameters
Parameter | Type | Description |
---|---|---|
userId | ID of the user |
Request Body Type
list of Attribute
Example body
Code Block |
---|
[ {"name" : "user.firstname", "value" : "John"}, {"name" : "user.lastname", "value" : "Smith"}, {"name": "user.ISOCountryCode", "value": "FR"} ] |
Example body 2 - erase mobile number
Code Block |
---|
[ {"name" : "user.MobileNumber", "value" : null} ] |