I’m trying to update a user’s password through the UiPath Orchestrator API, but I keep getting an “Unauthorized” error when attempting the update outside of UiPath Studio.
Here are the endpoints I’ve tried:
https://cloud.uipath.com/Org/Tenant/orchestrator_/odata/Users
- Using this endpoint, I’m able to update the password successfully from within UiPath Studio (using API activities).
- However, when I make the same API call from Postman or any external tool, I receive an “Unauthorized” error — even though the token, organization unit ID, and other details are correct.
https://cloud.uipath.com/Org/UAT/orchestrator_/odata/Sessions/UiPath.Server.Configuration.OData.GetGlobalSessions?$expand=Robot
- This endpoint successfully retrieves all user and robot session details, but I can’t perform any update operations through it.
https://cloud.uipath.com/Org/UAT/orchestrator_/odata/Sessions/UiPath.Server.Configuration.OData.GetGlobalSessions?$expand=Robot(Id)
- I also tried this endpoint to target a specific robot ID, but it returns a “405 Method Not Allowed” error when I attempt to update the password.
I’ve verified that:
- The access token is valid.