There's no standard way to do this. I believe this issue requires a ticket. But if you want to try and solve it yourself, you can take a look at this:
https://community.enhance.com/d/2105-2fa-backup-codes
There are some queries to disable otp for specific users. That should work for v11 but not for v12, since enhance doesn't use docker anymore.
For v12, you can query the orchd database this way:
As root:
su - orchd
psql
select * from login;
Locate your account's email address and then you can do what's explained in the other thread:
update logins set auth_method = 'basic' where email ='yoursuperadmin@email.com';
Disclaimer: I haven't used this myself, I'm not sure if this works. Please take every precaution and make sure your backups are up to date before trying it.