To update a password of a user, use the command user/update_password:
svc=user/update_password¶ms={"userId":<long>, "oldPassword":<text>, "newPassword":<text>}
Parameters
Name | Description |
---|---|
userId | user ID |
oldPassword | old password |
newPassword | new password |
Response
{} /* empty object if execution successful, if not - error code */