# Deauthorization Webhook Handling Based on User's Role

**URL:** <https://devforum.zoom.us/t/deauthorization-webhook-handling-based-on-users-role/17157>\
**Category:** API and Webhooks\
**Created:** [May 11, 2020, 10:50pm UTC](https://devforum.zoom.us/t/deauthorization-webhook-handling-based-on-users-role/17157 "2020-05-11T22:50:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chadk](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chadk/32/6639_2.png) [@chadk](https://devforum.zoom.us/u/chadk)\
**Post date:** [May 11, 2020, 10:50pm UTC](https://devforum.zoom.us/t/deauthorization-webhook-handling-based-on-users-role/17157/1 "2020-05-11T22:50:05Z")

</div>

Hi. I am working on creating a user-managed OAuth App.

I’m having difficulty finding the handling for the deauthorization webhook based on the roles.

For example, if an admin or an owner sends the deauthorization, does this apply to any users authorized for the account? Or does this only apply to that user regardless of role?

With that, do I use the role\_name value returned from a User GET request? Can I make a user GET request after the deauthorization is received, or does that information need to be stored upon the initial authorization?

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 15, 2020, 6:58pm UTC](https://devforum.zoom.us/t/deauthorization-webhook-handling-based-on-users-role/17157/2 "2020-05-15T18:58:03Z")

</div>

Hey @chadk,

Roles do not affect the deauthorization flow. User Level Apps can only be uninstalled by the user who installed them. 🙂

Does that clear things up?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![chadk](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chadk/32/6639_2.png) [@chadk](https://devforum.zoom.us/u/chadk)\
**Post date:** [May 22, 2020, 7:25pm UTC](https://devforum.zoom.us/t/deauthorization-webhook-handling-based-on-users-role/17157/3 "2020-05-22T19:25:52Z")

</div>

Yes, thank you. I now realize the documentation is for both types of OAuth Apps.

---

<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 28, 2020, 8:58pm UTC](https://devforum.zoom.us/t/deauthorization-webhook-handling-based-on-users-role/17157/4 "2020-05-28T20:58:25Z")

</div>

Happy to help! 🙂

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:35pm UTC](https://devforum.zoom.us/t/deauthorization-webhook-handling-based-on-users-role/17157/5 "2020-08-21T21:35:43Z")

</div>


