# Plans and users

**URL:** <https://devforum.zoom.us/t/plans-and-users/11571>\
**Category:** API and Webhooks\
**Created:** [April 6, 2020, 2:56pm UTC](https://devforum.zoom.us/t/plans-and-users/11571 "2020-04-06T14:56:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bragma](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bragma/32/4213_2.png) [@bragma](https://devforum.zoom.us/u/bragma)\
**Post date:** [April 6, 2020, 2:56pm UTC](https://devforum.zoom.us/t/plans-and-users/11571/1 "2020-04-06T14:56:13Z")

</div>

**Description**  
I’d like to understand how plans/licenses and users work, in particular how licenses are associated to users.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
server-to-server JWT

I’m trying to understand if I got it correctly.

1. I create a sub-account under my master account
2. I call “POST /accounts/{accountId}/plans” to buy plans under a specific sub account. My master account will pay for the license fee. Ex: type: monthly, hosts: 3
3. I create users in the sub-account, with type: 2 (licensed). Creation will fail if no licenses are available in the sub-account
4. (optional) I can add/remove licenses to users changing the type with " PATCH /users/{userId}" changing the type from 2 to 1 or from 1 to 2. Request will fail if there are no more free licenses.

Is this all correct?

---

<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 7, 2020, 12:49am UTC](https://devforum.zoom.us/t/plans-and-users/11571/2 "2020-04-07T00:49:09Z")

</div>

Hey @bragma,

Yep, you nailed it! 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![bragma](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bragma/32/4213_2.png) [@bragma](https://devforum.zoom.us/u/bragma)\
**Post date:** [April 7, 2020, 8:50am UTC](https://devforum.zoom.us/t/plans-and-users/11571/3 "2020-04-07T08:50:37Z")

</div>

@tommy, thanks for your answer.

We are still waiting to get in touch with ISV but it may turn out we can’t afford partner program or to have a master account. How does the scenario changes if we only have a single 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 7, 2020, 6:49pm UTC](https://devforum.zoom.us/t/plans-and-users/11571/4 "2020-04-07T18:49:57Z")

</div>

Hey @bragma,

You can do this without an ISV plan too. 🙂 You just won’t be able to create the [custCreate users](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usercreate), you can still create the other user types.

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, 8:21pm UTC](https://devforum.zoom.us/t/plans-and-users/11571/5 "2020-08-21T20:21:30Z")

</div>

Closed on August 21, 2020, 8:21pm UTC


