# When deleting authenticator it says mfa token is invalid

**URL:** <https://community.auth0.com/t/when-deleting-authenticator-it-says-mfa-token-is-invalid/94672>\
**Category:** Get Help\
**Tags:** mfa-api, mfa\
**Created:** [November 17, 2022, 11:53pm UTC](https://community.auth0.com/t/when-deleting-authenticator-it-says-mfa-token-is-invalid/94672 "2022-11-17T23:53:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhayathapa](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/abhayathapa/32/34674_2.png) [@abhayathapa](https://community.auth0.com/u/abhayathapa)\
**Post date:** [November 17, 2022, 11:53pm UTC](https://community.auth0.com/t/when-deleting-authenticator-it-says-mfa-token-is-invalid/94672/1 "2022-11-17T23:53:51Z")

</div>

I am trying to delete an authenticator and when I hit the endpoint /mfa/authenticators with an HTTP DELETE method using a MFA token received with the following claims,  
“scope”: “remove:authenticators”  
“audience”: `https://MY\_DOMAIN/mfa/"

I get the following error,

{  
“error”: “invalid\_grant”,  
“error\_description”: “The mfa\_token provided is invalid. Try getting a new token.”  
}

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [November 29, 2022, 11:26pm UTC](https://community.auth0.com/t/when-deleting-authenticator-it-says-mfa-token-is-invalid/94672/3 "2022-11-29T23:26:08Z")

</div>

Hi @abhayathapa ,

Welcome to the Auth0 Community!

To delete the enrollments, you can use [this](https://auth0.com/docs/api/management/v2/#!/Guardian/delete_enrollments_by_id) endpoint.

I could delete it with `DELETE /api/v2/guardian/enrollments/:id` successfully. Could you please give it a try?

Thanks!

---

<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:** [December 13, 2022, 11:27pm UTC](https://community.auth0.com/t/when-deleting-authenticator-it-says-mfa-token-is-invalid/94672/5 "2022-12-13T23:27:16Z")

</div>

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