completePasswordChange abstract method

  1. @POST.new('/users/@me/password-change/complete')
Future<PasswordChangeCompleteResponse> completePasswordChange({
  1. @Body.new() required PasswordChangeCompleteRequest body,
})

Complete password change.

Completes the password change after email verification. Requires the verification proof and new password. Invalidates all existing sessions and returns the replacement session token.

body - Name not received - field will be skipped.

Implementation

@POST('/users/@me/password-change/complete')
Future<PasswordChangeCompleteResponse> completePasswordChange({
  @Body() required PasswordChangeCompleteRequest body,
});