verifyUserEmailWithHttpInfo method

Future<Response> verifyUserEmailWithHttpInfo(
  1. MmVerifyUserEmailRequest mmVerifyUserEmailRequest
)

Verify user email

Verify the email used by a user to sign-up their account with. ##### Permissions No permissions required.

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> verifyUserEmailWithHttpInfo(
  MmVerifyUserEmailRequest mmVerifyUserEmailRequest,
) async {
  // ignore: prefer_const_declarations
  final path = r'/users/email/verify';

  // ignore: prefer_final_locals
  Object? postBody = mmVerifyUserEmailRequest;

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