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