Hi,
Using a script_name/api_keys for authentication I can update an “active” user but not a “disabled” user (inactive)
eg.
sg.update('HumanUser', 123, {"sg_contact_info": "123-456-7890"})
Updating an “active” user successfully returns the created data
Updating a “disabled” user gives this error:
“Missing mandatory fields: Email, Firstname and Lastname are required to activate a user under Identity”
From the FAQ:
Q. What happens to my scripts that use script_name/api_keys for authentication? Will they continue to work?
Yes. They will continue to work as they did previously, but the status of an “Active” state cannot be changed—only a scripts authenticated with username/password can do that.
As I understand it, I am NOT changing the status of an “Active” state, and I dont want to.
Anyone ideas on why this is happening? And how to fix it? I am hoping to run this in and event daemon.
–Michael