# At which point can I recycle a license?

**URL:** <https://devforum.zoom.us/t/at-which-point-can-i-recycle-a-license/31811>\
**Category:** API and Webhooks\
**Created:** [September 30, 2020, 7:28pm UTC](https://devforum.zoom.us/t/at-which-point-can-i-recycle-a-license/31811 "2020-09-30T19:28:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pablo.gonzalez](https://avatars.discourse-cdn.com/v4/letter/p/ea5d25/32.png) [@pablo.gonzalez](https://devforum.zoom.us/u/pablo.gonzalez)\
**Post date:** [September 30, 2020, 7:28pm UTC](https://devforum.zoom.us/t/at-which-point-can-i-recycle-a-license/31811/1 "2020-09-30T19:28:20Z")

</div>

All of the following is by API through a JWT app.

Considering a meeting life-cycle: Meeting creation with licensed user -\> User/Host joining -\> party time -\> Meeting ends.

At which point can the user be updated to type 1 (basic), to recycle the license, without affecting the meeting capabilities?

- After the meeting is created but before the host joins?
- After the host joins?
- After the meeting is ended?
- On meetings type 3 (recurring with no fixed time) does the host needs to be type 2 (Licensed) every the meeting starts?

Made some tests and found this:

Case 1:

- Created meeting with user type 2 (Licensed).
- User/Host Joined meeting.
- Updated user to type 1 (Basic).
- Meeting duration went over the 40 minutes mark since the host joined. No warnings or alerts.

Case 2:

- Created meeting with user type 1 (Basic).
- User/Host Joined meeting.
- Warning triggered: “10 minutes left in meeting”.
- Updated user to type 2 (Licensed).
- Alert triggered at 40 min mark: “This meeting now has unlimited minutes”.
- Meeting duration went over the 40 minutes mark since the host was updated to basic. No warnings or alerts.

Endpoints used:  
POST /users/{userId}/meetings  
PATCH /users/{userId}  
GET /accounts/{accountId}/plans/usage (to verify license usage)

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 2, 2020, 2:35pm UTC](https://devforum.zoom.us/t/at-which-point-can-i-recycle-a-license/31811/2 "2020-10-02T14:35:39Z")

</div>

Hi @pablo.gonzalez,

Generally speaking, we do not recommend changing licenses before or during a meeting, to ensure you don’t run into unintended results.

I would recommend not updating a user’s license until after a meeting has ended. If you want to take care of this programmatically, I recommend looking at our Meeting Ended webhook:

> **[Meeting Ended - Meeting Events - Webhook Reference - API Reference](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/meeting-ending)**
>
> Meeting Ended
> 
> 
> 
> A meeting host can end a meeting for all meeting participants. 
> 
> The Meeting Ended event is triggered every time a meeting host ends th...

For recurring meetings with no fixed time, you can keep track of the start/end times using the Meeting Started and Meeting Ended webhooks to ensure you’re not taking action on a user’s license before/during.

Let me know if this helps!

Best,  
Will

---

<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:** [November 2, 2020, 12:35am UTC](https://devforum.zoom.us/t/at-which-point-can-i-recycle-a-license/31811/3 "2020-11-02T00:35:43Z")

</div>

Closed on November 2, 2020, 12:35am UTC

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