# Deauth API for subdomain with different databases

**URL:** <https://devforum.zoom.us/t/deauth-api-for-subdomain-with-different-databases/42269>\
**Category:** API and Webhooks\
**Created:** [February 2, 2021, 9:26am UTC](https://devforum.zoom.us/t/deauth-api-for-subdomain-with-different-databases/42269 "2021-02-02T09:26:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![akshay.salekar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/akshay.salekar/32/17022_2.png) [@akshay.salekar](https://devforum.zoom.us/u/akshay.salekar)\
**Post date:** [February 2, 2021, 9:26am UTC](https://devforum.zoom.us/t/deauth-api-for-subdomain-with-different-databases/42269/1 "2021-02-02T09:26:04Z")

</div>

I have multiple sub-domain so by referring ([https://marketplace.zoom.us/docs/guides/auth/oauth#using-multiple-environments](https://marketplace.zoom.us/docs/guides/auth/oauth#using-multiple-environments)) and following this ([Does zoom support more than two environments for oauth2? - #12 by tommy](https://devforum.zoom.us/t/does-zoom-support-more-than-two-environments-for-oauth2/11052/12)) I have done the changes accordingly.

Now how do I configure the deauthorization Notification url for every client since I have different db for different client. I tried same approach as mentioned above but I am not able to get notification . I tried it using production url and checked but no notification received. but specifying one particular client I am able to receive the notification but no notification after using “any”.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [February 3, 2021, 7:04pm UTC](https://devforum.zoom.us/t/deauth-api-for-subdomain-with-different-databases/42269/2 "2021-02-03T19:04:15Z")

</div>

Hey @akshay.salekar,

Thank you for reaching out to the Zoom Developer Forum. Are you able to share the App Name where you set up the `any` route in order to use subdomains? I’ll investigate it further.

> Now how do I configure the deauthorization Notification url for every client since I have different db for different client.

You can use a single deauthorization endpoint for all of your users and then use back-end logic to determine what data belongs to each user and remove their data as necessary.

Are you able to share a bit more information on your use-case?

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [March 6, 2021, 5:05am UTC](https://devforum.zoom.us/t/deauth-api-for-subdomain-with-different-databases/42269/3 "2021-03-06T05:05:09Z")

</div>

Closed on March 6, 2021, 5:05am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
