# Do I need to POST to the Data Compliance API when I make a Revoking request?

**URL:** <https://devforum.zoom.us/t/do-i-need-to-post-to-the-data-compliance-api-when-i-make-a-revoking-request/19918>\
**Category:** App Marketplace\
**Created:** [June 2, 2020, 5:51am UTC](https://devforum.zoom.us/t/do-i-need-to-post-to-the-data-compliance-api-when-i-make-a-revoking-request/19918 "2020-06-02T05:51:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ectech\_zoomdemo](https://avatars.discourse-cdn.com/v4/letter/e/74df32/32.png) [@ectech\_zoomdemo](https://devforum.zoom.us/u/ectech_zoomdemo)\
**Post date:** [June 2, 2020, 5:51am UTC](https://devforum.zoom.us/t/do-i-need-to-post-to-the-data-compliance-api-when-i-make-a-revoking-request/19918/1 "2020-06-02T05:51:16Z")

</div>

**Description**  
Hi,  
Our application provides users with the ability to de-authenticate.  
Currently, it is implemented in the following flow.

1. the user presses the deactivation button.
2. use the user’s access token to send a revoke request to ‘[https://zoom.us/oauth/revoke](https://zoom.us/oauth/revoke)’.
3. then delete the user’s data that we hold

So, I have two questions.

After deleting the user’s data, is it necessary to notify the ‘Data Compliance API’ that the user’s data has been deleted?  
When I send a revoke request, will the ‘deauthorization endpoint URL’ receive a notification?

I’m sorry if there are any expressions that don’t come across.

Thanks,

**Which App?**  
OAuth App on Zoom Market Place

---

<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:** [June 4, 2020, 7:38pm UTC](https://devforum.zoom.us/t/do-i-need-to-post-to-the-data-compliance-api-when-i-make-a-revoking-request/19918/2 "2020-06-04T19:38:54Z")

</div>

Hey @ectech_zoomdemo,

> [@ectech\_zoomdemo](#):
>
> After deleting the user’s data, is it necessary to notify the ‘Data Compliance API’ that the user’s data has been deleted?

You do not need to delete user data after you revoke their access token. The purpose of [revoking the access token](https://marketplace.zoom.us/docs/guides/auth/oauth#revoking) is for security breaches where you believe the token was exposed. Revoking the token also does not uninstall the app.

If you would like your users to uninstall the app rather then have their tokens revoked, you can direct them to uninstall the app here: [App Marketplace](https://marketplace.zoom.us/user/installed)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ectech\_zoomdemo](https://avatars.discourse-cdn.com/v4/letter/e/74df32/32.png) [@ectech\_zoomdemo](https://devforum.zoom.us/u/ectech_zoomdemo)\
**Post date:** [June 8, 2020, 9:02am UTC](https://devforum.zoom.us/t/do-i-need-to-post-to-the-data-compliance-api-when-i-make-a-revoking-request/19918/3 "2020-06-08T09:02:01Z")

</div>

Hi Tommy,  
Thank you for answering!

That cleared up a lot of questions for me!

I just want to check one thing.

> [@tommy](#):
>
> Revoking the token also does not uninstall the app.

I tried the revoke request on a test account.  
Then, our app was uninstalled from the marketplace (it was missing from the marketplace’s installed apps). (They were missing from the marketplace installed apps.)

Is this a special behavior before the app was released to the public?

Thanks,  
Tasuku

---

<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:** [June 12, 2020, 8:00pm UTC](https://devforum.zoom.us/t/do-i-need-to-post-to-the-data-compliance-api-when-i-make-a-revoking-request/19918/4 "2020-06-12T20:00:42Z")

</div>

Hey @ectech_zoomdemo,

You are welcome! 🙂

**UPDATE:**  **NO, you do not need to Post to the data compliance endpoint when revoking an access token**. Email communications were sent out around the deprecation of the Data Compliance API.

More details about this change here: [https://marketplace.zoom.us/docs/api-reference/data-compliance/data-compliance/compliance](https://marketplace.zoom.us/docs/api-reference/data-compliance/data-compliance/compliance)

Apologies for the confusion, when calling the revoke endpoint, it actually **does** uninstall the app, and send the [deauth webhook](https://marketplace.zoom.us/docs/guides/auth/deauthorization#event-notifications), ~~after which you need to [make the Data Compliance request](https://marketplace.zoom.us/docs/guides/publishing/data-compliance#notify-zoom-of-data-compliance).~~

~~So the answer is yes, you need to POST to the Data Compliance endpoint when revoking an access token.~~

~~We will update our docs to mention this. (DEVELOPERS-810)~~

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ectech\_zoomdemo](https://avatars.discourse-cdn.com/v4/letter/e/74df32/32.png) [@ectech\_zoomdemo](https://devforum.zoom.us/u/ectech_zoomdemo)\
**Post date:** [June 15, 2020, 6:50am UTC](https://devforum.zoom.us/t/do-i-need-to-post-to-the-data-compliance-api-when-i-make-a-revoking-request/19918/5 "2020-06-15T06:50:57Z")

</div>

Hi Tommy,

Thank you so much!

All of my questions have been answered!

Thanks,  
Tasuku

---

<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:** [June 16, 2020, 3:22am UTC](https://devforum.zoom.us/t/do-i-need-to-post-to-the-data-compliance-api-when-i-make-a-revoking-request/19918/6 "2020-06-16T03:22:46Z")

</div>

You are so welcome! 🙂

Let us know if you need anything else!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 10:03pm UTC](https://devforum.zoom.us/t/do-i-need-to-post-to-the-data-compliance-api-when-i-make-a-revoking-request/19918/7 "2020-08-21T22:03:33Z")

</div>

Closed on August 21, 2020, 10:03pm UTC


