# Account Link Extension uninstall does not remove Rules(legacy) box from Login flow

**URL:** <https://community.auth0.com/t/account-link-extension-uninstall-does-not-remove-rules-legacy-box-from-login-flow/123862>\
**Category:** Get Help\
**Tags:** extensions, auth0-account-link\
**Created:** [December 29, 2023, 3:25pm UTC](https://community.auth0.com/t/account-link-extension-uninstall-does-not-remove-rules-legacy-box-from-login-flow/123862 "2023-12-29T15:25:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rchavda](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@rchavda](https://community.auth0.com/u/rchavda)\
**Post date:** [December 29, 2023, 3:25pm UTC](https://community.auth0.com/t/account-link-extension-uninstall-does-not-remove-rules-legacy-box-from-login-flow/123862/1 "2023-12-29T15:25:19Z")

</div>

I tried to use Account Link Extension on my auth0 account. I noticed it actually adds Rules(Legacy) widget in Login action flow. Since it was throwing exception about request module not available I tried to revert assuming this is deprecated extension.  
Event after removing the account-link-application, and disabling custom login and uninstalling extension I am not able to remove the Rules (legacy) box from the Login flow.  
Is it a UI/UX bug or its actually cannot be removed and I’ll be blocked trying other action flows?

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [December 30, 2023, 3:25pm UTC](https://community.auth0.com/t/account-link-extension-uninstall-does-not-remove-rules-legacy-box-from-login-flow/123862/3 "2023-12-30T15:25:08Z")

</div>

Hi @rchavda

Welcome back to the Auth0 Community!

I’m sorry for the inconvenience about the user UI. I will talk with the team about what we can do to clarify it for the other users.

Delete this rule via Management API or Auth0 CLI as a workaround.

1. **Management API**  
By Calling this endpoint [Auth0 Management API v2](https://auth0.com/docs/api/management/v2/rules/delete-rules-by-id) with the appropriate Rule ID, you can permanently delete it, which will remove it from the flow as well.

2. **Auth0 CLI**  
Using [Auth0 CLI](https://github.com/auth0/auth0-cli), you can connect via the terminal to your tenant settings and remove rules.

Both of these options will produce the same outcome.

I hope this will help you.

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [January 8, 2024, 8:55am UTC](https://community.auth0.com/t/account-link-extension-uninstall-does-not-remove-rules-legacy-box-from-login-flow/123862/4 "2024-01-08T08:55:15Z")

</div>

Hey there!

As this topic is related to Rules - Hooks - Actions and Rules & Hooks are being deprecated soon I’m excited to let you know about our next [Ask me Anything session in the Forum on Thursday, January 18 with the Rules, Hooks and Actions team](https://community.auth0.com/t/auth0-community-ask-me-anything-rules-hooks-and-why-actions-matter/124043) on Rules & Hooks and why Actions matter! Submit your questions in the thread above and our esteemed product experts will provide written answers on January 18. Find out more about Rules & Hooks and why Actions matter! Can’t wait to see you there!

[Learn more here!](https://community.auth0.com/t/auth0-community-ask-me-anything-rules-hooks-and-why-actions-matter/124043)

---

<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:** [January 22, 2024, 8:55am UTC](https://community.auth0.com/t/account-link-extension-uninstall-does-not-remove-rules-legacy-box-from-login-flow/123862/5 "2024-01-22T08:55:47Z")

</div>

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