deleteSettingsTeam function

Future<ApiResponse<Object?>> deleteSettingsTeam(
  1. ExsitedClient client,
  2. Object teamId, {
  3. bool? raiseOnError,
  4. String? responseFormat,
})

DELETE /api/{api_version}/settings/teams/{team_id}

Delete a team; refused while the team has members.

No typed view: no 2xx response was recorded for it. Read response.map.

Implementation

Future<ApiResponse<Object?>> deleteSettingsTeam(
  ExsitedClient client,
  Object teamId, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendDeleteRequest(TeamsUrls.settingsTeam,
        pathParams: {'team_id': teamId},
        raiseOnError: raiseOnError,
        responseFormat: responseFormat);