# MFA delete/disable for a user

**URL:** <https://community.auth0.com/t/mfa-delete-disable-for-a-user/182280>\
**Category:** Get Help\
**Tags:** mfa-api, mfa\
**Created:** [February 17, 2025, 9:15am UTC](https://community.auth0.com/t/mfa-delete-disable-for-a-user/182280 "2025-02-17T09:15:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![exchanga](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/exchanga/32/65100_2.png) [@exchanga](https://community.auth0.com/u/exchanga)\
**Post date:** [February 17, 2025, 9:15am UTC](https://community.auth0.com/t/mfa-delete-disable-for-a-user/182280/1 "2025-02-17T09:15:29Z")

</div>

Hi team.

we have configured MFA for our tenet using the Library with our post-login,  
we have successful configured the MFA , the issue we are facing is when we try to delete/disable the MFA for a user its not getting deleted/disable for the user even through we are getting the positive response, `204`  
Multi-factor provider successfully deleted for user. as per this doc form auth0 Delete a User’s Multi-factor Provider  
can anybody assist us on this why we are facing this porblem.

---

<div class="post-metadata">

**Author:** ![remus.ivan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/remus.ivan/32/68771_2.png) [@remus.ivan](https://community.auth0.com/u/remus.ivan)\
**Post date:** [February 17, 2025, 9:06pm UTC](https://community.auth0.com/t/mfa-delete-disable-for-a-user/182280/3 "2025-02-17T21:06:07Z")

</div>

Hi @exchanga,

Welcome back to the Auth0 Community and thank you for your post.

I have tested this on my end and you are able to achieve this with a post-login Action. You can identify the user by either querying `event.user.email` or `event.user.name` or by any metadata attributes and pass the `api.multifactor.enable("none")` method.

Additionally you can also check out this [Knowledge Article](https://community.auth0.com/t/bypass-mfa-for-a-certain-user/141432).

I hope this helped.  
Best regards,  
Remus

---

<div class="post-metadata">

**Author:** ![exchanga](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/exchanga/32/65100_2.png) [@exchanga](https://community.auth0.com/u/exchanga)\
**Post date:** [February 18, 2025, 8:59am UTC](https://community.auth0.com/t/mfa-delete-disable-for-a-user/182280/4 "2025-02-18T08:59:04Z")

</div>

hi @remus.ivan the MFA configuration and everything is working fine. but our major issue is for resetting the mfa for a user using API. can you please provide the API or any docs through which we can achieve this.

---

<div class="post-metadata">

**Author:** ![remus.ivan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/remus.ivan/32/68771_2.png) [@remus.ivan](https://community.auth0.com/u/remus.ivan)\
**Post date:** [February 18, 2025, 4:34pm UTC](https://community.auth0.com/t/mfa-delete-disable-for-a-user/182280/5 "2025-02-18T16:34:18Z")

</div>

Hi @exchanga,

Thanks for your reply.

You can also use the `DELETE ` `/api/v2/users/{id}/authentication-methods` endpoint from the **Management API** to achieve this, but also when having admin rights you can use **Auth0 Dashboard** directly to delete/reset a user’s MFA.

Please check out [this article](https://auth0.com/docs/secure/multi-factor-authentication/reset-user-mfa#recovery-codes) from our documentation.

Thanks,  
Remus

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 4, 2025, 4:34pm UTC](https://community.auth0.com/t/mfa-delete-disable-for-a-user/182280/6 "2025-03-04T16:34:36Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
