getGroupWithHttpInfo method

Future<Response> getGroupWithHttpInfo(
  1. String groupId
)

Get a group

Get group from the provided group id string ##### Permissions Must have manage_system permission. Minimum server version: 5.11

Note: This method returns the HTTP Response.

Parameters:

  • String groupId (required): Group GUID

Implementation

Future<Response> getGroupWithHttpInfo(
  String groupId,
) async {
  // ignore: prefer_const_declarations
  final path = r'/groups/{group_id}'.replaceAll('{group_id}', groupId);

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <MmQueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];

  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}