How do I list role ids associated with a group ID using the REST APIs?
How do I list role ids associated with a group ID using the REST APIs?
Use the Roles.List API.
GET api.ashx/v2/{application}/{id}/roles.{json|xml}
List Role REST Endpoint - API Documentation - Verint Community 12.x - Verint | Telligent Community
application = 'groups'
id = {groupID}
I am not sure if this is working as expected. I am asking for groups/23/roles.json. This group is a Private group with only 1 role being assigned access. The API call is returning over 7 roles as a result; including the Everyone Role which it should not return.
I am not sure if this is working as expected. I am asking for groups/23/roles.json. This group is a Private group with only 1 role being assigned access. The API call is returning over 7 roles as a result; including the Everyone Role which it should not return.
This endpoint is more for listing site roles that have access to a group. If you do not choose to pass IncludePermissions = true and a PermissionId it will return all SiteRoles as well.
If you're only interested in site roles that are added as members of a group, you can use this endpoint.
GET api.ashx/v2/groups/{groupid}/members/roles.{json|xml}