# Deauthorization API

**URL:** <https://devforum.zoom.us/t/deauthorization-api/4076>\
**Category:** API and Webhooks\
**Created:** [April 28, 2019, 11:26am UTC](https://devforum.zoom.us/t/deauthorization-api/4076 "2019-04-28T11:26:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kristian](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kristian/32/951_2.png) [@kristian](https://devforum.zoom.us/u/kristian)\
**Post date:** [April 28, 2019, 11:26am UTC](https://devforum.zoom.us/t/deauthorization-api/4076/1 "2019-04-28T11:26:32Z")

</div>

I am trying to figure out how to comply with your deauthorization webhook call ([https://marketplace.zoom.us/docs/api-reference/webhook-reference/app-events](https://marketplace.zoom.us/docs/api-reference/webhook-reference/app-events)).

I am currently only storing the tokens that I receive when authorizing, so I can’t identify the connection from any of the data that are included in the payload here. I **do** make calls to the `users` endpoint, so I guess I might have the user id of the person who created the connection but I am not sure how to determine this. Do I need to make an additional call or am I missing something?

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [April 30, 2019, 1:24am UTC](https://devforum.zoom.us/t/deauthorization-api/4076/3 "2019-04-30T01:24:48Z")

</div>

Hi @kristian,

I am currently working on your issue, and will provide you with an update as soon as possible.

Thanks,

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [April 30, 2019, 7:03pm UTC](https://devforum.zoom.us/t/deauthorization-api/4076/4 "2019-04-30T19:03:13Z")

</div>

Hi @kristian,

Thank you for patiently waiting.

You would need to store the `user_id, account_id` and the `client_id` as well.

Was I able to answer your question?

Thanks.

---

<div class="post-metadata">

**Author:** ![kristian](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kristian/32/951_2.png) [@kristian](https://devforum.zoom.us/u/kristian)\
**Post date:** [April 30, 2019, 9:11pm UTC](https://devforum.zoom.us/t/deauthorization-api/4076/5 "2019-04-30T21:11:51Z")

</div>

Well, partly, thank you.

I am still not sure where or how I am supposed to obtain `account_id` and `user_id`. I suppose the `client_id` is the one I use to establish the oauth connection with. But in the response from `https://api.zoom.us/oauth/token`, I only get an access and a refresh token – no way to identify which user or account made the connection. Do I need to make a separate call for this? And if so, to which endpoint?

Thank you.

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [May 1, 2019, 12:04am UTC](https://devforum.zoom.us/t/deauthorization-api/4076/6 "2019-05-01T00:04:49Z")

</div>

Yes,

You can consider using the [retrieve a specific user API](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user)

For the value of `UserID`, put me, and you should be able to get the `UserID` as well as the `AccountID`.

Let me know if this resolves your issue.

Thanks,  
Ojus

---

<div class="post-metadata">

**Author:** ![kristian](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kristian/32/951_2.png) [@kristian](https://devforum.zoom.us/u/kristian)\
**Post date:** [May 26, 2019, 9:56am UTC](https://devforum.zoom.us/t/deauthorization-api/4076/7 "2019-05-26T09:56:45Z")

</div>

Thank you Ojus,

I believe I now have the necessary infrastructure in place for this. I would like to test it before I reapply for your marketplace. I have set the webhook URL to point to my localhost for now, but I am not sure how to trigger the actual event. When I log into Zoom, I see a tab called “integration” but it doesn’t show me my own app. I can’t find any other place where I can disable or remove my app. How does one do that (and is that the proper way to test this?)

Kind regards,  
Kristian Dupont

---

<div class="post-metadata">

**Author:** ![TimZoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/timzoom/32/978_2.png) [@TimZoom](https://devforum.zoom.us/u/TimZoom)\
**Post date:** [May 28, 2019, 10:43pm UTC](https://devforum.zoom.us/t/deauthorization-api/4076/8 "2019-05-28T22:43:08Z")

</div>

Hi Kristian,

You can find out more about testing an app on our dcos. Take a look here:

> **[Testing and Submitting Your App - App Submission and Management - Documentation](https://marketplace.zoom.us/docs/guides/app-submission-and-management/testing-and-submitting-your-app)**
>
> Testing and Submitting Your App
> 
> 
> 
> Installation Types
> 
> Based on the type of app you are developing, testing and installation processes can differ. The s...
