getTeamMembersByIdsWithHttpInfo method
Get team members by ids
Get a list of team members based on a provided array of user ids. ##### Permissions Must have view_team
permission for the team.
Note: This method returns the HTTP Response
.
Parameters:
-
String teamId (required): Team GUID
-
List<String> requestBody (required): List of user ids
Implementation
Future<Response> getTeamMembersByIdsWithHttpInfo(
String teamId,
List<String> requestBody,
) async {
// ignore: prefer_const_declarations
final path = r'/teams/{team_id}/members/ids'.replaceAll('{team_id}', teamId);
// ignore: prefer_final_locals
Object? postBody = requestBody;
final queryParams = <MmQueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}