Skip to main content

We are trying to use control room APIs which are available. We are successfully getting responses for APIs like Get all roles, Get all users, get user by ID, and even trigger bot APIs also working fine.

But some of the below mentioned APIs we are getting error. Please help to check

 

=> {{ControlRoomURL}}v1/usermanagement/roles/{id} - Update Role by ID

 

When we try to use update role(Role ID:369) API using postman, we are getting error as In below screen shot.

image 

=> {{ControlRoomURL}}v1/usermanagement/users/{uid} - Update User Details

 

When we try to update user (User ID:7) using API by adding some roles, we are getting error as in below screenshot.

image

Hi @Nitin B S​ ,

 

Checkout below documentation i think payload is the issue,

 

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/control-room/control-room-api/cloud-api-update-existing-role.html/p>

 

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/control-room/control-room-api/cloud-api-update-existing-user.html/p>


The 'invalid request parameters' suggest some issues with how the API is being fed the input. Please raise a support case so an engineer can validate if your inputs are in line with the format guidelines.


Reply