Reltio Connect

 View Only
Expand all | Collapse all

API endpoint for get users for groupID gives empty response for newly created groups. Can anyone advice on why this is happening?

  • 1.  API endpoint for get users for groupID gives empty response for newly created groups. Can anyone advice on why this is happening?

    Posted 04-07-2022 06:38
    Hi Community.

    I have an issue where I am trying endpoint services/oauth/users/groups{groupId}  to get users assigned the group.
    When I enter a groupId that was created a while ago the API gives a response with all users having assigned this Group.
    But for all my newly created groupsId's the endpoint gives a empty response even though I know the Group has been assigned users.
    Can anyone advice on why and how to mitigate issue?

    Thanks in advance
    Trond S Lie


  • 2.  RE: API endpoint for get users for groupID gives empty response for newly created groups. Can anyone advice on why this is happening?

    Reltio Employee
    Posted 04-13-2022 14:24
    @Sergio Abraham, and @Dmitry Blinov can you help with this question? ​​​


  • 3.  RE: API endpoint for get users for groupID gives empty response for newly created groups. Can anyone advice on why this is happening?

    Reltio Employee
    Posted 04-14-2022 11:52
    Hi Trond, how are you?
    I just tested these steps using a user with role_admin_tenant privileges:
    1. created user <X>
    2. created group <Y>
    3. modified user <X> to include it as part of group <Y>
    4. queried via API: GET oauth/users/groups/<Y> and obtain a list including only user <X>
    Can you try these steps and confirm the output? Please share the specific API endpoints you are using.

    Best