# How to update "plan\_bundle" named hosts with REST API?

**URL:** <https://devforum.zoom.us/t/how-to-update-plan-bundle-named-hosts-with-rest-api/5954>\
**Category:** API and Webhooks\
**Created:** [September 19, 2019, 3:50am UTC](https://devforum.zoom.us/t/how-to-update-plan-bundle-named-hosts-with-rest-api/5954 "2019-09-19T03:50:06Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rob\_Di\_Toro](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rob_di_toro/32/1869_2.png) [@Rob\_Di\_Toro](https://devforum.zoom.us/u/Rob_Di_Toro)\
**Post date:** [September 19, 2019, 3:50am UTC](https://devforum.zoom.us/t/how-to-update-plan-bundle-named-hosts-with-rest-api/5954/1 "2019-09-19T03:50:07Z")

</div>

**Description/Error**

Attempting to update a sub-account’s number of available hosts via the REST API, but have not been able to do so since they have upgraded to Enterprise Named (Tier 2).  
I’ve noticed that they are now listed as “plan\_bundle” as an object when retrieving their plan information (via `GET /accounts/:accountId/plans`).

Eg:

```auto
    "plan_bundle": {
        "hosts": 105,
        "active_hosts": 0,
        "bundled_plans": [
            {
                "type": "PLANCODE_1122"
            },
            {
                "type": "large500_yearly"
            },
            {
                "type": "webinar500_yearly"
            }
        ]
    }

```

Previously, their [plan type](https://marketplace.zoom.us/docs/api-reference/other-references/plans) was `business_yearly`, and we would just use `PUT accounts/:accountId/plans/base` to set the # of hosts to the desired number.

Does anybody know how to update the number of named hosts for an Enterprise account (with plan\_bundle)?

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:** [September 19, 2019, 4:39pm UTC](https://devforum.zoom.us/t/how-to-update-plan-bundle-named-hosts-with-rest-api/5954/2 "2019-09-19T16:39:59Z")

</div>

Hey @Rob_Di_Toro, thanks for using Zoom and the detailed post!

Have you tried the [PUT /accounts/{accountId}/plans/addons](https://marketplace.zoom.us/docs/api-reference/zoom-api/billing/accountplanaddonupdate) endpoint?

“Update an additional plan for a sub account.”

Also are you getting any errors, or does it just not work?

Let me know if this works!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![Rob\_Di\_Toro](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rob_di_toro/32/1869_2.png) [@Rob\_Di\_Toro](https://devforum.zoom.us/u/Rob_Di_Toro)\
**Post date:** [September 26, 2019, 5:20am UTC](https://devforum.zoom.us/t/how-to-update-plan-bundle-named-hosts-with-rest-api/5954/3 "2019-09-26T05:20:57Z")

</div>

Hi Tommy,

Thanks for the reply.

Yes I have! Unfortunately much of the same result. The Enterprise Bundle (“PLANCODE\_1122”) doesn’t appear to be a supported plan type, which is odd. Unless I’m doing something else wrong?

Postman screenshot of the add-ons API PUT call:

 ![10](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/d/df52b0eb7812b596bae0b7d2ed1408f54b576363.png)

---

<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:** [September 26, 2019, 4:04pm UTC](https://devforum.zoom.us/t/how-to-update-plan-bundle-named-hosts-with-rest-api/5954/4 "2019-09-26T16:04:55Z")

</div>

Hey @Rob_Di_Toro, happy to help!

Have you tried passing in `"plan_bundle"` instead of `"PLANCODE_1122"`?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![sassy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sassy/32/1814_2.png) [@sassy](https://devforum.zoom.us/u/sassy)\
**Post date:** [September 29, 2019, 11:53pm UTC](https://devforum.zoom.us/t/how-to-update-plan-bundle-named-hosts-with-rest-api/5954/6 "2019-09-29T23:53:57Z")

</div>

```
PUT /v2/accounts/{{accountId}}/plans/bundles

{
  	  "type" : "ENT-LMT_500-WBN_500-yearly",
	  "hosts": "100"
}

```

The Get Plan API response has plan type in the format PLANCODE\_1122, but in the request to subscribe and/or update, we had to pass in a different string as above. I am not sure if that is a universal plan name or if it is configured specifically for our 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:** [September 30, 2019, 3:01pm UTC](https://devforum.zoom.us/t/how-to-update-plan-bundle-named-hosts-with-rest-api/5954/7 "2019-09-30T15:01:09Z")

</div>

Thanks for posting this @sassy 🙂

-Tommy

---

<div class="post-metadata">

**Author:** ![Rob\_Di\_Toro](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rob_di_toro/32/1869_2.png) [@Rob\_Di\_Toro](https://devforum.zoom.us/u/Rob_Di_Toro)\
**Post date:** [October 18, 2019, 1:37am UTC](https://devforum.zoom.us/t/how-to-update-plan-bundle-named-hosts-with-rest-api/5954/8 "2019-10-18T01:37:23Z")

</div>

Hi @sassy,

Thanks so much for responding!

Unfortunately it didn’t work for me – I tried `ENT-LMT_500-WBN_500-yearly` as you suggested, but received the following response:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/8/811b5b7387470e91080dd9ae8dd224076101c453.png)

I also tried the `PLANCODE_1122` for the same `.../plans/bundles` API call, but received the same response.

Any ideas?  
Sorry for the late reply!

Thanks,  
Rob

---

<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:** [October 18, 2019, 8:18pm UTC](https://devforum.zoom.us/t/how-to-update-plan-bundle-named-hosts-with-rest-api/5954/9 "2019-10-18T20:18:35Z")

</div>

Hey @Rob_Di_Toro,

This sounds like the string `ENT-LMT_500-WBN_500-yearly` @sassy provided is custom to his account.

Can you reach out to [support@zoom.us](mailto:support@zoom.us) or your Zoom account executive to have them tell you what plan type code to pass in?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![Rob\_Di\_Toro](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rob_di_toro/32/1869_2.png) [@Rob\_Di\_Toro](https://devforum.zoom.us/u/Rob_Di_Toro)\
**Post date:** [October 22, 2019, 1:11am UTC](https://devforum.zoom.us/t/how-to-update-plan-bundle-named-hosts-with-rest-api/5954/10 "2019-10-22T01:11:55Z")

</div>

Will do, @tommy.  
Thank you 🙂

Rob

---

<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:** [October 22, 2019, 3:57pm UTC](https://devforum.zoom.us/t/how-to-update-plan-bundle-named-hosts-with-rest-api/5954/11 "2019-10-22T15:57:16Z")

</div>

You are welcome! 🙂

Let us know if using your plan code string works!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![sassy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sassy/32/1814_2.png) [@sassy](https://devforum.zoom.us/u/sassy)\
**Post date:** [October 23, 2019, 5:24am UTC](https://devforum.zoom.us/t/how-to-update-plan-bundle-named-hosts-with-rest-api/5954/12 "2019-10-23T05:24:02Z")

</div>

That’s correct. @Rob_Di_Toro Our contact at Zoom mentioned that the plan bundle names like the one I provided are custom built for each company and that they have to be configured and made available for each account. Also, as I mentioned the request doesn’t take type in the format PLANCODE\_XXX, but once configured with something like ENT-LMT\_XXX, it does return that value. We are trying to find out if there is any mapping between ENT\_XXX and PLANCODE\_XXX formats.

---

<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:** [October 23, 2019, 3:50pm UTC](https://devforum.zoom.us/t/how-to-update-plan-bundle-named-hosts-with-rest-api/5954/13 "2019-10-23T15:50:47Z")

</div>

Thanks for posting this @sassy! This is really helpful! 🙂

-Tommy

---

<div class="post-metadata">

**Author:** ![Rob\_Di\_Toro](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rob_di_toro/32/1869_2.png) [@Rob\_Di\_Toro](https://devforum.zoom.us/u/Rob_Di_Toro)\
**Post date:** [October 25, 2019, 12:18am UTC](https://devforum.zoom.us/t/how-to-update-plan-bundle-named-hosts-with-rest-api/5954/14 "2019-10-25T00:18:05Z")

</div>

Hi all,

Got it resolved finally– I actually passed the same plan code as @sassy:  
(`ENT-LMT_500-WBN_500-yearly`), but I needed to contact Zoom Support first to have something ‘enabled’ on my account.

I suspect that I didn’t have the correct permissions scope to enact changes on the `/bundles` API.

Thanks for your help, everyone 🙂

Rob

---

<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:** [October 28, 2019, 8:54pm UTC](https://devforum.zoom.us/t/how-to-update-plan-bundle-named-hosts-with-rest-api/5954/15 "2019-10-28T20:54:07Z")

</div>

Happy to hear we got it working! 🙂

Let us know if you have any other questions!

Thanks,

-Tommy

---

<div class="post-metadata">

**Author:** ![kveluchamy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kveluchamy/32/1393_2.png) [@kveluchamy](https://devforum.zoom.us/u/kveluchamy)\
**Post date:** [July 11, 2022, 6:09am UTC](https://devforum.zoom.us/t/how-to-update-plan-bundle-named-hosts-with-rest-api/5954/16 "2022-07-11T06:09:30Z")

</div>

@tommy  
I have a question here. Is the enterprise plan always in this plan\_bundle format when using get\_plan API? Earlier the API returned enterprise plans in plan\_base format. Now it returns in plan\_bundle format.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [July 12, 2022, 2:48pm UTC](https://devforum.zoom.us/t/how-to-update-plan-bundle-named-hosts-with-rest-api/5954/17 "2022-07-12T14:48:35Z")

</div>

Hey @kveluchamy  
This topic is Closed, could you please create a new thread and we will take it from there!  
Cheers,  
Elisa 😉
