Hi,
we use an special orion account to set nodes to "unmanged" by powershell script in our automated server maintenance jobs.
Permissions for this account should be limited as much as possible. It should only have the permission to set nodes to "Unmanaged".
Doing the web-request with this URL: https://$($hostname):17778/SolarWinds/InformationService/v3/Json/Invoke/Orion.Nodes/Unmanage with a post body like this: ["N:1996","06/24/2019 09:00:29","06/24/2019 09:02:28","false"] works great.
But only with both permissions “Allow Node Management Rights” AND“Allow Account to Unmanage Objects”. Without node management rights we get the error "Access to Orion.Nodes.Unmanage verb denied.".
When using the same account in the Web UI for putting nodes to unmanaged mode, it's possible without node management rights.
Why is it different in SDK?
Regards,
Hermann