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

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?

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,

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