Oracle Analytics Cloud and Server

Oracle Visual Builder User Role Mapping using REST API

Accepted answer
27
Views
1
Comments

Hello,

I am not sure if this is the correct group but I am trying to find a way to update the user role mapping when application is deployed using grunt vb deploy command. I exported the application use REST API along with the user roles and mapping. However the grunt deploy command is using the application profile, the user roles are getting created but the role mapping is not set. Anyway we can achieve this programmatically during deployment?

From Visual builder instance, when we do any changes, following API was called but calling this through postman is giving 401 Authorization Required. From UI and from postman, using the same user.

https://<instance name>.builder.ocp.oraclecloud.com/ic/builder/design/<applicationname>/<version>/resources/application/roles/users?profile=<profileid>&approle=<role name>
https://<instance name>.builder.ocp.oraclecloud.com/ic/builder/design/<applicationname>/<version>/resources/application/roles/groups?profile=<profileid>&approle=<role name>

Tagged:

Best Answer