createTeamWithHttpInfo method
Create a team
Create a new team on the system. ##### Permissions Must be authenticated and have the create_team
permission.
Note: This method returns the HTTP Response
.
Parameters:
- MmCreateTeamRequest mmCreateTeamRequest (required): Team that is to be created
Implementation
Future<Response> createTeamWithHttpInfo(
MmCreateTeamRequest mmCreateTeamRequest,
) async {
// ignore: prefer_const_declarations
final path = r'/teams';
// ignore: prefer_final_locals
Object? postBody = mmCreateTeamRequest;
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,
);
}