createGroupWithHttpInfo method
Create a custom group
Create a custom
type group. #### Permission Must have create_custom_group
permission. Minimum server version: 6.3
Note: This method returns the HTTP Response
.
Parameters:
- MmCreateGroupRequest mmCreateGroupRequest (required): Group object and initial members.
Implementation
Future<Response> createGroupWithHttpInfo(
MmCreateGroupRequest mmCreateGroupRequest,
) async {
// ignore: prefer_const_declarations
final path = r'/groups';
// ignore: prefer_final_locals
Object? postBody = mmCreateGroupRequest;
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,
);
}