# App uninstall API

**URL:** <https://devforum.zoom.us/t/app-uninstall-api/25653>\
**Category:** API and Webhooks\
**Created:** [July 29, 2020, 10:54pm UTC](https://devforum.zoom.us/t/app-uninstall-api/25653 "2020-07-29T22:54:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathaniel](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nathaniel/32/12589_2.png) [@nathaniel](https://devforum.zoom.us/u/nathaniel)\
**Post date:** [July 29, 2020, 10:54pm UTC](https://devforum.zoom.us/t/app-uninstall-api/25653/1 "2020-07-29T22:54:18Z")

</div>

**Description**  
Calling the [Revoke Access Token](https://marketplace.zoom.us/docs/guides/auth/oauth#revoking) API seems to result in a Deauthorization notification where `user_data_retention` is set to `false` (meaning don’t retain user data). Is there a way to call the Revoke Access Token API indicating that the user would like their data to be retained? How can a user express their preference to NOT have their Zoom data in our app deleted?

**Error**  
N/A

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

**Which Endpoint/s?**  
POST [https://zoom.us/oauth/revoke](https://zoom.us/oauth/revoke)

**Additional context**  
The use case is this: a user records their Zoom session in Zoom’s cloud, using their personal Zoom account. They then upload this recording to our app, where they analyze the recording, adding notes and possibly even working with collaborators to study the video. They then revoke access to their personal Zoom account in order to give access to the Zoom account which they use for teaching. However, they don’t want the videos uploaded from their personal Zoom account deleted in our app. How do they express that they DON’T want the Zoom videos transferred to our app deleted, even when revoking access?

If the only way that a user can express their data retention preference is to uninstall the app from the Zoom App Marketplace, this is a limitation to our use case, as we need to be able to tell the user exactly what data they would be deleting by uninstalling Zoom.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 31, 2020, 9:25pm UTC](https://devforum.zoom.us/t/app-uninstall-api/25653/2 "2020-07-31T21:25:21Z")

</div>

Hey @nathaniel,

Good question. Yes the Revoke Token Endpoint kicks off the uninstall process. Currently we do not have a flag to send letting you know if `user_data_retention` should be set to false. Please treat it as `false` until we add the flag.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 13, 2020, 8:12pm UTC](https://devforum.zoom.us/t/app-uninstall-api/25653/5 "2020-08-13T20:12:20Z")

</div>

Closed on August 13, 2020, 8:12pm UTC

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