You can update a user's profile with the updateUserProfile method.
|credentials (required)||credentials||Read the description of the Credentials object.|
|userId (required)||string||ID of the user, which profile you want to update.|
|fields (required)||array||An array of objects with the following properties: name, value.|
|groups (optional)||string||An array of group IDs, to which a user will be added.|
After the request has been completed, the system returns an object with the following properties:
|success||bool||True, if the user's profile has been updated.|
|exceededGroup||string||An array of group IDs, to which a user hasn't been added, because of the exceeded number of users this group can contain.|