# OAuth Uninstall Data Compliance URL

**URL:** <https://devforum.zoom.us/t/oauth-uninstall-data-compliance-url/18301>\
**Category:** API and Webhooks\
**Created:** [May 19, 2020, 1:32pm UTC](https://devforum.zoom.us/t/oauth-uninstall-data-compliance-url/18301 "2020-05-19T13:32:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sgani](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sgani/32/4519_2.png) [@sgani](https://devforum.zoom.us/u/sgani)\
**Post date:** [May 19, 2020, 1:32pm UTC](https://devforum.zoom.us/t/oauth-uninstall-data-compliance-url/18301/1 "2020-05-19T13:32:47Z")

</div>

Hi there,

Can you confirm what URL we should be posting to for the OAuth Uninstall confirmation?

On this page, [https://marketplace.zoom.us/docs/api-reference/data-compliance/data-compliance/compliance](https://marketplace.zoom.us/docs/api-reference/data-compliance/data-compliance/compliance), your documentation says the URL should be [https://api.zoom.us/oauth/data/compliance](https://api.zoom.us/oauth/data/compliance).

But your documentation ([https://marketplace.zoom.us/docs/api-reference/introduction](https://marketplace.zoom.us/docs/api-reference/introduction)) also says ‘The base URL for all requests is [https://api.zoom.us/v2/](https://api.zoom.us/v2/)’.

The first URL returns an ‘Invalid Request’ error while the /v2/ URL returns a valid response. Is this just a mistake in your documentation?

Thank you.

---

<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:** [May 22, 2020, 4:45pm UTC](https://devforum.zoom.us/t/oauth-uninstall-data-compliance-url/18301/2 "2020-05-22T16:45:41Z")

</div>

Hey @sgani,

The correct url should be `https://api.zoom.us/oauth/data/compliance`. The [auth and deauth](https://marketplace.zoom.us/docs/guides/auth/) endpoints do not have the V2 path.

Can you provide steps to reproduce the “Invalid Request” error?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![sgani](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sgani/32/4519_2.png) [@sgani](https://devforum.zoom.us/u/sgani)\
**Post date:** [May 28, 2020, 5:22pm UTC](https://devforum.zoom.us/t/oauth-uninstall-data-compliance-url/18301/3 "2020-05-28T17:22:12Z")

</div>

Figured out the issue, noting it here in case anyone else runs into this in the future.

There’s minor differences between the `app_deauthorized` payload object noted here ([https://marketplace.zoom.us/docs/api-reference/webhook-reference/app-events/app-deauthorized](https://marketplace.zoom.us/docs/api-reference/webhook-reference/app-events/app-deauthorized)) vs the `deauthorization_object_received` object noted 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)). We also needed to make sure that the `deauthrozation_time` format matched the example given (in C#, we ended up using this string format - `yyyy-MM-ddTHH:mm:ss.fffZ`).

Also, it looks like if you’ve already posted that same `app_deauthorization` payload, you’ll also received StatusCode `BadRequest`.

YMMV.

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [June 2, 2020, 3:00am UTC](https://devforum.zoom.us/t/oauth-uninstall-data-compliance-url/18301/4 "2020-06-02T03:00:55Z")

</div>

Thanks for posting your solution @sgani, let us know if we can be of any help 🙂

---

<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, 9:47pm UTC](https://devforum.zoom.us/t/oauth-uninstall-data-compliance-url/18301/5 "2020-08-21T21:47:54Z")

</div>

Closed on August 21, 2020, 9:47pm UTC


