Get User Roles using OIG REST APIs
Hi,
In the OIG REST APIs documentation it is mentioned that we can get a list of their assigned roles via the URI /roles GET filtered via the user IDs and a check for what is provisioned for the users. The URI /roles with the GET operation and filtered for the userid returns nothing, while the user already have 5 roles.
The Authorization header contain the credentials of a User Admin account, same account is used to read user data using the /user end point.
The question is, what is the right way to get the roles assigned to a user.