# Uninstall connected app via api

**URL:** <https://community.hubspot.com/t/uninstall-connected-app-via-api/87187>\
**Category:** APIs & Integrations\
**Tags:** free\
**Created:** [August 10, 2023, 10:13am UTC](https://community.hubspot.com/t/uninstall-connected-app-via-api/87187 "2023-08-10T10:13:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeterPan325](https://avatars.discourse-cdn.com/v4/letter/p/c67d28/32.png) [@PeterPan325](https://community.hubspot.com/u/PeterPan325)\
**Post date:** [August 10, 2023, 10:13am UTC](https://community.hubspot.com/t/uninstall-connected-app-via-api/87187/1 "2023-08-10T10:13:59Z")

</div>

Is there a method to programmatically uninstall a connected app through the API?

---

<div class="post-metadata">

**Author:** ![coldrickjack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/coldrickjack/32/6684_2.png) [@coldrickjack](https://community.hubspot.com/u/coldrickjack)\
**Post date:** [August 10, 2023, 10:29am UTC](https://community.hubspot.com/t/uninstall-connected-app-via-api/87187/2 "2023-08-10T10:29:52Z")

</div>

Hey @PeterPan325,

There is no way to uninstall using the API. It is a manual action that has to be taken by an admin. More information [here](https://knowledge.hubspot.com/integrations/connect-apps-to-hubspot#uninstall-an-app).

---

<div class="post-metadata">

**Author:** ![PeterPan325](https://avatars.discourse-cdn.com/v4/letter/p/c67d28/32.png) [@PeterPan325](https://community.hubspot.com/u/PeterPan325)\
**Post date:** [August 10, 2023, 10:53am UTC](https://community.hubspot.com/t/uninstall-connected-app-via-api/87187/3 "2023-08-10T10:53:10Z")

</div>

Hi @coldrickjack,

Thank you for response. But In my scenario _ **If user logged in user-email on the our site does not match on the HubSpot website user-email** _. I require to not install app on user hubspot account in this case. There is a any way to do this.
