/user/updateProfile
- 1 Minute to read
- Print
- DarkLight
/user/updateProfile
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Post
/user/updateProfile
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.
Request body example:
[
{"name" : "user.firstname", "value" : "John"},
{"name" : "user.lastname", "value" : "Smith"},
{"name": "user.ISOCountryCode", "value": "FR"}
]
Request body example - erase mobile number:
[
{"name" : "user.MobileNumber", "value" : null}
]
Query parameters
userId
integer (int64)
ID of the user
Body parameters
Array of object
object
name
string
value
string
Responses
204
400
Parameter 'userId' is mandatory but no value was specified. / The request didn't contain a request entity. / User with id does not exist.
404
Not Found
Was this article helpful?