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

Long

ID of the user

Request Body Type

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}
]