List all users with a given role on a team

This command returns all users in a role for a given team, including users that are associated via a group membership

Request

GET https://{hostname}:{port}
    /cli/user/inRoleOnTeam?{parameters}
Accept: application/json
Table 1. Request parameters
Parameter Type Required Description
role string true Name or id of the role
team string true Name or id of the team
Table 2. Header parameters
Parameter Type Required Description
Accept application/json true

Related CLI command: getAllUsersInRoleForTeam.