Legacy Dev Forum Posts

 View Only

Sign Up

Required permssion to query teams - resolving api permissions to role permissions

  • 1.  Required permssion to query teams - resolving api permissions to role permissions

    Posted 06-05-2025 18:28

    ssteiner | 2023-09-28 08:44:04 UTC | #1

    I'm having trouble accessing /api/v2/teams - I'm getting You are missing the following permission 'groups:team:view' in the provided division

    My app uses the client credential flow, so all permissions come from roles. But what role permission must be assigned for this to work? I can access /api/v2/groups just fine.

    Is there a way to resolve a permission like 'groups:team:view' into how a permission is called in the roles & permissions gui?


    Jerome.Saint-Marc | 2023-09-28 09:01:54 UTC | #2

    Hello,

    You can get the description of the permission using GET /api/v2/authorization/permissions, with queryType=permission and query=groups:team:view

    You can then use it in Genesys Cloud Desktop - Admin, while editing your role, and filtering permissions using Description field. In the case of 'groups:team:'view' -> "label": "View a Work Team" In Genesys Cloud Desktop - Admin UI: Permission Groups > Work Team > View with Description View a Work Team

    Regards,


    system | 2023-10-29 09:02:18 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 22262