forgotPassword abstract method

  1. @POST.new('/auth/forgot')
Future<void> forgotPassword({
  1. @Body.new() required ForgotPasswordRequest body,
})

Forgot password.

Initiate password reset process by email. A password reset link will be sent to the user's email address. Requires CAPTCHA verification.

body - Name not received - field will be skipped.

Implementation

@POST('/auth/forgot')
Future<void> forgotPassword({@Body() required ForgotPasswordRequest body});