VMware Cloud Community
Schlass
Contributor
Contributor

vRA 8.1 REST API assign service roles to groups

Hi,

I am currently trying to grant an ad group access to the Service Broker via the REST API. The only

way I got from the documentation was for assigning service roles to users only, not for groups.

Is this currently possible? If so then how do I do it?

Regards

Nicolas

4 Replies
xian_
Expert
Expert

Browser developer tools reveal the following URL: /csp/gateway/#/consumer/usermgmt/ad-groups/assign-roles

The IDs probably needs to be searched for, prior to executing the request:

/csp/gateway/portal/api/groups/e6dde33b-4e2e-421a-8bc7-ea3347f5b416/orgs/05b138db-c915-41fb-8354-284329e9e9c8/roles

/csp/gateway/portal/api/orgs/05b138db-c915-41fb-8354-284329e9e9c8/groups

Try to do it on the GUI and watch the network traffic...

Reply
0 Kudos
Schlass
Contributor
Contributor

Isn't there anyone who got this working? I still can't figure it out... I can't believe that it is not possible to automate the assignment of roles for groups in an enterprise product....

Reply
0 Kudos
daphnissov
Immortal
Immortal

You're welcome to open an SR and get an official response...

LuluTchab
Contributor
Contributor

Any news about this problem ? I also need to add rights on groups using API and don't know how to do this...

Reply
0 Kudos