getTeamInviteInfoWithHttpInfo method

Future<Response> getTeamInviteInfoWithHttpInfo(
  1. String inviteId
)

Get invite info for a team

Get the name, display_name, description and id for a team from the invite id. Minimum server version: 4.0 ##### Permissions No authentication required.

Note: This method returns the HTTP Response.

Parameters:

  • String inviteId (required): Invite id for a team

Implementation

Future<Response> getTeamInviteInfoWithHttpInfo(
  String inviteId,
) async {
  // ignore: prefer_const_declarations
  final path = r'/teams/invite/{invite_id}'.replaceAll('{invite_id}', inviteId);

  // 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,
  );
}