verifyUserEmailWithoutTokenWithHttpInfo method

Future<Response> verifyUserEmailWithoutTokenWithHttpInfo(
  1. String userId
)

Verify user email by ID

Verify the email used by a user without a token. Minimum server version: 5.24 ##### Permissions Must have manage_system permission.

Note: This method returns the HTTP Response.

Parameters:

  • String userId (required): User GUID

Implementation

Future<Response> verifyUserEmailWithoutTokenWithHttpInfo(
  String userId,
) async {
  // ignore: prefer_const_declarations
  final path = r'/users/{user_id}/email/verify/member'.replaceAll('{user_id}', userId);

  // ignore: prefer_final_locals
  Object? postBody;

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

  const contentTypes = <String>[];

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