forgotPassword

Send reset password link to provided valid email

This function is used to send a reset password link to the email. Could be used without Bearer token.

func forgotPassword(email: String, completion: @escaping (Bool, String) -> ()) {
        router.request(.forgotPassword(email: email)) { data, response, error in
}