Updating/ Creating web service authentication password

Hello,
Im having issue setting up a password programmatically for the web service authentication settings when I create a new user. Im using something along these lines to create/ update the user but cant figure out what In need to do to update this it seems to always return none I have tried using a sha256 hash password but it doesnt even take that.
‘’’

user_info = {‘Email’: ‘’,
‘JobCompleted’: True,
‘JobFailed’: True,
‘JobTaskTimeout’: True,
‘JobWarning’: True,
‘Machine’: platform.node(),
‘Name’: ‘test’,
‘RunAsDom’: ‘’,
‘RunAsHash’: ‘’,
‘RunAsName’: ‘’,
‘SendEmail’: False,
‘SendPopup’: False,
‘Service’: ‘’,
‘SvcHash’: ‘password’,
‘_id’: ‘test’}

con.Users.SaveUser(user_info)

I was wondering if anyone Knows of a way to fix this or add a passowrd to this field

From what I’m seeing the password doesn’t get set through that endpoint.

Though I’m not sure what you mean by ‘return none’, how are you checking your results?