revertEmailChange abstract method

  1. @POST.new('/auth/email-revert')
Future<AuthLoginResponse> revertEmailChange({
  1. @Body.new() required EmailRevertRequest body,
})

Revert email change.

Revert a pending email change using the verification token sent to the old email. Returns authentication token after successful revert.

body - Name not received - field will be skipped.

Implementation

@POST('/auth/email-revert')
Future<AuthLoginResponse> revertEmailChange({
  @Body() required EmailRevertRequest body,
});