If the user loses or did not receive the verification code, a new verification code can be sent using the POST /environments/{envId}/users/{userId} operation. For the code resend operation, the application/vnd.pingidentity.user.sendVerificationCode+json custom content type is required in the request header.

Upon success, a new verification code is sent and the lifecycle.status property of the user is set to VERIFICATION_REQUIRED.