# Is it possible to update multiple host key trough API

**URL:** <https://devforum.zoom.us/t/is-it-possible-to-update-multiple-host-key-trough-api/15633>\
**Category:** API and Webhooks\
**Created:** [April 30, 2020, 7:29pm UTC](https://devforum.zoom.us/t/is-it-possible-to-update-multiple-host-key-trough-api/15633 "2020-04-30T19:29:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![joel.dapiawen](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@joel.dapiawen](https://devforum.zoom.us/u/joel.dapiawen)\
**Post date:** [April 30, 2020, 7:29pm UTC](https://devforum.zoom.us/t/is-it-possible-to-update-multiple-host-key-trough-api/15633/1 "2020-04-30T19:29:52Z")

</div>

Hi,

I can update a single user’s hots key with out any problem using PATCH update user API.

My question would be is it possible to update multiple user with different host keys using API?

Joel Dapiawen

---

<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 5, 2020, 6:50pm UTC](https://devforum.zoom.us/t/is-it-possible-to-update-multiple-host-key-trough-api/15633/2 "2020-05-05T18:50:56Z")

</div>

Hey @joel.dapiawen,

You would have to make multiple API requests.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![joel.dapiawen](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@joel.dapiawen](https://devforum.zoom.us/u/joel.dapiawen)\
**Post date:** [May 24, 2020, 3:01pm UTC](https://devforum.zoom.us/t/is-it-possible-to-update-multiple-host-key-trough-api/15633/3 "2020-05-24T15:01:06Z")

</div>

Thanks Tommy for the reply, so meaning we can only update a user one at a time in single button click. I was hoping I could create a loop to find all the userid then create a counter for hostkeys that will automatically create unique hostkeys then do the multiple patch in a single button click. Is this possble?

---

<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, 4:58pm UTC](https://devforum.zoom.us/t/is-it-possible-to-update-multiple-host-key-trough-api/15633/4 "2020-05-28T16:58:16Z")

</div>

Hey @joel.dapiawen,

You could totally iterate through all your users and update them programmatically.

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:39pm UTC](https://devforum.zoom.us/t/is-it-possible-to-update-multiple-host-key-trough-api/15633/5 "2020-08-21T21:39:51Z")

</div>

Closed on August 21, 2020, 9:39pm UTC


