unlinkGroupSyncableForTeamWithHttpInfo method

Future<Response> unlinkGroupSyncableForTeamWithHttpInfo(
  1. String groupId,
  2. String teamId
)

Delete a link from a team to a group

Delete a link from a team to a group ##### Permissions Must have manage_team permission. Minimum server version: 5.11

Note: This method returns the HTTP Response.

Parameters:

  • String groupId (required): Group GUID

  • String teamId (required): Team GUID

Implementation

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

  // ignore: prefer_final_locals
  Object? postBody;

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

  const contentTypes = <String>[];

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