# Access tokens when an account associated with a pro account

**URL:** <https://devforum.zoom.us/t/access-tokens-when-an-account-associated-with-a-pro-account/12175>\
**Category:** API and Webhooks\
**Created:** [April 8, 2020, 4:04pm UTC](https://devforum.zoom.us/t/access-tokens-when-an-account-associated-with-a-pro-account/12175 "2020-04-08T16:04:07Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattpegler](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@mattpegler](https://devforum.zoom.us/u/mattpegler)\
**Post date:** [April 8, 2020, 4:04pm UTC](https://devforum.zoom.us/t/access-tokens-when-an-account-associated-with-a-pro-account/12175/1 "2020-04-08T16:04:07Z")

</div>

Hi there. When a standalone account is added to a pro Zoom account, it appears the access tokens for the standalone account are invalidated. This makes sense, but I don’t see it documented anywhere and I don’t see any way for us to detect when it happens or how we should handle it. I would expect to receive the deauthorized webhook, but as far as I can tell, that isn’t sent. Please let me know how to best handle this situation. Thanks!

---

<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:** [April 9, 2020, 7:35pm UTC](https://devforum.zoom.us/t/access-tokens-when-an-account-associated-with-a-pro-account/12175/2 "2020-04-09T19:35:25Z")

</div>

Hey @mattpegler,

When you say access tokens for the standalone account are invalidated, are you saying an account level or user level OAuth app installed on the standalone account no longer work/needs to be reauthorized?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![mattpegler](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@mattpegler](https://devforum.zoom.us/u/mattpegler)\
**Post date:** [April 9, 2020, 7:50pm UTC](https://devforum.zoom.us/t/access-tokens-when-an-account-associated-with-a-pro-account/12175/3 "2020-04-09T19:50:01Z")

</div>

Yes. From what we saw, the tokens for the account level app on the standalone account no longer work after the user account was associated with a different pro account.

---

<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:** [April 10, 2020, 8:19pm UTC](https://devforum.zoom.us/t/access-tokens-when-an-account-associated-with-a-pro-account/12175/4 "2020-04-10T20:19:38Z")

</div>

Hey @mattpegler,

That is intended functionality, because the new account would need to approve and authorize the app.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![mattpegler](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@mattpegler](https://devforum.zoom.us/u/mattpegler)\
**Post date:** [April 10, 2020, 8:37pm UTC](https://devforum.zoom.us/t/access-tokens-when-an-account-associated-with-a-pro-account/12175/5 "2020-04-10T20:37:10Z")

</div>

Thanks, it makes sense. But shouldn’t we receive a deauthorized webhook?

---

<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:** [April 11, 2020, 6:38am UTC](https://devforum.zoom.us/t/access-tokens-when-an-account-associated-with-a-pro-account/12175/6 "2020-04-11T06:38:21Z")

</div>

Hey @mattpegler,

It’s defiantly an edge case and there should be some kind of webhook for this. I will bring this up to our team.

But the app wasn’t actually uninstalled so the deauth webhook won’t send.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![recordedspeed](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/recordedspeed/32/3124_2.png) [@recordedspeed](https://devforum.zoom.us/u/recordedspeed)\
**Post date:** [April 29, 2020, 8:27am UTC](https://devforum.zoom.us/t/access-tokens-when-an-account-associated-with-a-pro-account/12175/7 "2020-04-29T08:27:09Z")

</div>

@tommy,

I notice that my account-level oauth app has an access token which is tied to a particular user (the user who installed).

From reading the above scenario, it would appear that if this user were to be removed either by deletion or transfer to another account, the access token my app uses would cease to function and I would not be alerted via the deauthorization callback or any other means.

For other zoom marketplace admins on the account, what state would show in the Zoom Marketplace “Installed” or “Uninstalled”?

How would other marketplace users on the account know that loss of the original installation user is the reason the app is now failing to make API requests?

Is the suggested fix to have another user uninstall and re-install the app?

I’m looking for general guidelines on what to do in this situation so that I can have my support staff help users resolve their issues.

---

<div class="post-metadata">

**Author:** ![recordedspeed](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/recordedspeed/32/3124_2.png) [@recordedspeed](https://devforum.zoom.us/u/recordedspeed)\
**Post date:** [May 4, 2020, 10:40am UTC](https://devforum.zoom.us/t/access-tokens-when-an-account-associated-with-a-pro-account/12175/8 "2020-05-04T10:40:37Z")

</div>

Hello, I’m still looking for a response to my question. I need to let my support staff know how to respond to our customers.

---

<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 4, 2020, 7:32pm UTC](https://devforum.zoom.us/t/access-tokens-when-an-account-associated-with-a-pro-account/12175/9 "2020-05-04T19:32:19Z")

</div>

Hey @recordedspeed,

> [@recordedspeed](#):
>
> For other zoom marketplace admins on the account, what state would show in the Zoom Marketplace “Installed” or “Uninstalled”?

It would show uninstalled, let me confirm.

> [@recordedspeed](#):
>
> How would other marketplace users on the account know that loss of the original installation user is the reason the app is now failing to make API requests?

Let me get a guide created for this scenario. (ZOOM-157809)

> [@recordedspeed](#):
>
> Is the suggested fix to have another user uninstall and re-install the app?

Yes, have another user install the app. No need to un install, just install it again.

We will add a flow for this after our feature freeze.

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, 9:02pm UTC](https://devforum.zoom.us/t/access-tokens-when-an-account-associated-with-a-pro-account/12175/10 "2020-08-21T21:02:16Z")

</div>

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


