Hello UiPath Developers, I have a question…just assume that in Orchestrator I have 4 bots (Let’s say bot1, bot2,bot3,bot4) , I have developed a process where user want to run in his own VM but using above Bot licenses, I want to add client VM and assign anyone of above bots licences(deactivate available bots license and assign to new bot)…Manually we can do but I want to automate above steps(licensing and un-licensing)…is it Possible???
-First, you need to have access to the UiPath Orchestrator API. You will need API keys or tokens with the necessary permissions to manage licenses and bots.
-Use the API to retrieve information about the available bots and their licensing status. You can get a list of all bots and their current assignments.
-Use the API to deactivate a bot’s license. You can achieve this by making an API request to unlicense a specific bot. Be sure to handle any necessary cleanup, such as gracefully stopping any running processes on the bot.
-Implement error handling and checks to ensure that the licensing/unlicensing process is successful and that there are no conflicts or issues.
-Keep track of the license changes and make sure you have logs and reports in place to monitor the licensing status.
Cheers…!
You can use orchestrator api requests
<OrchestratorURL>/swagger/index.html
- this is the swagger url…where you can find the pay load needed
Cheers