Disable two factor authentication via GitLab API

Hi! I have been reading on API documentation, i cannot find info about two factor authentication via API for a specific user. We are working in a project to disable via a custom portal
I know i can disable via UI gitlab.server.example/admin/users/USERNAME/disable_two_factor but with API no success, is this possible or i didn´t read very good on documentation?

I have been reading on this page https://docs.gitlab.com/ee/api/users.html

Thanks!

Hi @gcaridesantander ,

I have the same issue, do you have any progress on this?

Regards,
YJ

Only in GitLab 15.2. or more