searchTeamsWithHttpInfo method
Search teams
Search teams based on search term and options provided in the request body. ##### Permissions Logged in user only shows open teams Logged in user with "manage_system" permission shows all teams
Note: This method returns the HTTP Response
.
Parameters:
- MmSearchTeamsRequest mmSearchTeamsRequest (required): Search criteria
Implementation
Future<Response> searchTeamsWithHttpInfo(
MmSearchTeamsRequest mmSearchTeamsRequest,
) async {
// ignore: prefer_const_declarations
final path = r'/teams/search';
// ignore: prefer_final_locals
Object? postBody = mmSearchTeamsRequest;
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,
);
}