UpdateConfirmationCode()

Update the confirmation code of an external user

Description

Update the confirmation code using the users' id and the new confirmation code.

Package Details

Interface

IAccountManager

Syntax

AccountManager.UpdateConfirmationCode(int userId, string confirmationCode)

Returns

Task

API

[POST] /api/v1/account/initiate-email-verification

Parameters

  • id: the user's id.

  • code: value for the conformation code.

Returns

200 - Ok

Example

await _accountManager.UpdateConfirmationCode(CurrentUser.Id, confirmationCode);

Caveats

Only accessible within the MTOA environment.