How can I turn off 2fa via Google Authenticator at the backend as cannot log in to SD Plus

How can I turn off 2fa via Google Authenticator at the backend as cannot log in to SD Plus

How can I turn off 2fa via Google Authenticator at the backend as cannot log in to SD Plus with the admin account?

Can you please provide a script for this as cannot get any further after password accepted.
Using Linux and postgresql on SD Plus v14300. I enrolled for email verification previously but recently changed it to google authenticator. Unfortunately I think the test version has overwritten the previous authenticator account as code not accepted. 

Thanks!

                  New to ADSelfService Plus?