sendVerificationEmailWithHttpInfo method

Future<Response> sendVerificationEmailWithHttpInfo(
  1. MmSendVerificationEmailRequest mmSendVerificationEmailRequest
)

Send verification email

Send an email with a verification link to a user that has an email matching the one in the request body. This endpoint will return success even if the email does not match any users on the system. ##### Permissions No permissions required.

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> sendVerificationEmailWithHttpInfo(
  MmSendVerificationEmailRequest mmSendVerificationEmailRequest,
) async {
  // ignore: prefer_const_declarations
  final path = r'/users/email/verify/send';

  // ignore: prefer_final_locals
  Object? postBody = mmSendVerificationEmailRequest;

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