Hi there!
We have an issue with a service account that we have on the Alteryx server. We cannot open the "user" page for the service account, as it will just time out. Most likely, this is because the user in the mongodb does not have first name and last name, that might cause an issue loading the content.
So, my question then is, is it safe to use the API to PUT the following request:
'{
"id": "dummy_service_account_id",
"name": "Service Account, Alteryx",
"firstName": "Alteryx",
"lastName": "Service Account",
"email": "email@email.com",
"isActive": true,
"roles": ["Evaluated"]
}'
What i worry is that I do the PUT on certain fields, and that it will blank out other fields if they are not included, such as maybe studio ID or other thing. Can I safely run this to only update the fields defined in the request?
Solved! Go to Solution.
@jensroy Are you able to test with a user that you are able to access through the GUI? I would think you could easily do what you're trying to do and it wouldn't overwrite the fields you don't provide, but I would feel more comfortable testing on a user.
Bacon
Fantastic idea, I can just create a new dummy user and test on that. Thanks!