# All passcodes changing to most recent passcode

**URL:** <https://devforum.zoom.us/t/all-passcodes-changing-to-most-recent-passcode/34439>\
**Category:** API and Webhooks\
**Created:** [October 27, 2020, 3:57pm UTC](https://devforum.zoom.us/t/all-passcodes-changing-to-most-recent-passcode/34439 "2020-10-27T15:57:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mvukojevic](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mvukojevic/32/17819_2.png) [@mvukojevic](https://devforum.zoom.us/u/mvukojevic)\
**Post date:** [October 27, 2020, 3:57pm UTC](https://devforum.zoom.us/t/all-passcodes-changing-to-most-recent-passcode/34439/1 "2020-10-27T15:57:04Z")

</div>

I’m creating meetings on behalf of users in my org and setting them as the host using /users/{userId}/meetings, however we have found one issue that we cannot figure out.

For one user, his passcode for **all scheduled future meetings** is being changed to the most recent passcode generated through the API (which I set by creating a random 9 digit string). The scheduled meetings I am creating via /users/{userId}/meetings does not include the use\_pmi=false flag, which the documentation says defaults to false. I noticed this user on the Zoom Dev forum had the same issue but nothing came of it: [https://devforum.zoom.us/t/password-change-after-the-meeting-is-created/21834/3?u=mvukojevic](https://devforum.zoom.us/t/password-change-after-the-meeting-is-created/21834/3)

There is also this setting for that specific user in his Schedule Meeting settings:

 ![Screen Shot 2020-10-27 at 11.55.07 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/7/e71418a421c5ef4ba274bde6b4800fbb63932fcc.png)

If I do not provide the use\_pmi flag, does it use whatever his settings are? And if I manually set this to false in the API call, does this overwrite his settings?

This is confusing, and greatly impacts us. Any help is appreciated.

---

<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 28, 2020, 6:24pm UTC](https://devforum.zoom.us/t/all-passcodes-changing-to-most-recent-passcode/34439/2 "2020-10-28T18:24:03Z")

</div>

Hey @mvukojevic,

Thanks for reaching out about this, and happy to help.

As a first step, can you confirm that the passcode being set doesn’t match that of the user’s PMI password? It sounds like it’s one you’re setting, but I’d like to rule this out. When a user has these PMI settings configured, any Meetings you create via API should inherit these.

Additionally, if you could provide a **copy of the request URL and body** that you’re using when you experience this behavior, as well as the **response** , this will help me to take a closer look.

Thanks!  
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 28, 2020, 4:24am UTC](https://devforum.zoom.us/t/all-passcodes-changing-to-most-recent-passcode/34439/3 "2020-11-28T04:24:07Z")

</div>

Closed on November 28, 2020, 4:24am UTC

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