Get Hostnames active on Machine Template

We have a Citrix environment for our production unattended bots. I have created a machine template and there are 4 host servers currently connected to the template. I would like to put these host servers into Maintenance Mode one at a time, so they can be rebooted for daily maintenance with minimal bot stoppage. The idea is that when host A is in maintenance mode the bots stop at the end of their current transaction and start up on other hosts while host A is rebooting. I am thinking that maybe I can do this through the Orchestrator API but “Get Machines” does not seem to have this info. any ideas?

@gregg.rubright

The one you are looking for either comes under robots in response

Or get users might have the details

Cheers

Thanks for your reply, but after a lot of digging, I actually found the Host Machine Names and ids in the Session section of the APIs. odata/Sessions/UiPath.Server.Configuration.OData.GetMachineSessionRuntimes? to be exact.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.