Hello,
I’m strugling to set computer property using REST API. I’m able to get property of the computer but I’m not able set it (no problem to set it via console manually however).
I’m using Rested to send test XML doc (see below) to server and I’m getting 401.
Hi Matthias,
as I have pointed out I’m using the very same account I’m using in console and there is no problem to set computer property. The same account is used to add computers to manual group(s) and query computer settings using REST API. I have not seen any example for setting the property on computer and documentation does not say much (https://developer.bigfix.com/rest-api/api/computer.html)
What you mean by “authenticate”? If you mean standard authentication then of course I’m authenticated - I would not be able to eg add computers to manual group - as I pointed out in my last comment - if I would not be authenticated (well I would not be able to use the API at all). If you mean that there is some additional authentication required then I’m not aware of it.
Thanks @gbl888 - this works. I guess that problem was not with login but with the format of the settings XML file because I can use it now without /login first and just use username:password combination. On the first sight the xml you have posted does not differ from mine however