How to change robot password using API

orchestrator
api

#1

Hello,

I’m trying to create project in UiPath that will automatically change Windows passwords on VDI machines and reflect that change in Orchestrator for appropriate robots.

I know that I can change password in Orchestrator using https://orchestrator.uipath.com/v2017.1/reference#robots_putbyid-1, that’s ok.

If you want to change password robot must have status ‘Disconnected’ in Orchestrator.

Is it possible to check Robot status via API? Is there another way to do it? (I don’t want to use Orchestrator GUI).

Second important question is if it’s possible to get list of robots and time of next scheduled jobs?

I can use https://orchestrator.uipath.com/v2017.1/reference#processschedules_getprocessschedules-1 to get all schedules but how can I encrypt Cron expressions?

I would be very grateful for any idea. Simple you ‘can’t do it’ will be also fine :slight_smile:


#2

Hi mate,

we too want to change our robots password via the API. Though we do find the API quite inadequate.

If you got that part working, could it maybe be possible to see your working example? Would be a great help, thanks!


#3

Do you have a working process?

Cheers,
Robert