@ POST @ Path ( "{id}/account/resend" ) @ PermitAll public Response resendVerifyAccountEmail ( @ PathParam ( "id" ) Long userId ) { checkNotNull ( userId ) ; boolean isSuccess = userService . resendVerifyAccountEmail ( userId ) ; return isSuccess ? Response . noContent ( ) . build ( ) : Response . status ( Response . Status . BAD_REQUEST ) . build ( ) ; }
Resend account verification email .