# Issue with update a user endpoint

**URL:** <https://devforum.zoom.us/t/issue-with-update-a-user-endpoint/73998>\
**Category:** API and Webhooks\
**Created:** [August 10, 2022, 4:11pm UTC](https://devforum.zoom.us/t/issue-with-update-a-user-endpoint/73998 "2022-08-10T16:11:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcoutant](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tcoutant/32/56541_2.png) [@tcoutant](https://devforum.zoom.us/u/tcoutant)\
**Post date:** [August 10, 2022, 4:11pm UTC](https://devforum.zoom.us/t/issue-with-update-a-user-endpoint/73998/1 "2022-08-10T16:11:05Z")

</div>

I have an automated workflow for onboarding new hires which uses the Zoom/Zoom Phone APIs to create the user account in Zoom, assign a phone number, device, etc. This has been working without issue for months, until today.

The first step is to create the user account by making a POST to [https://api.zoom.us/v2/users](https://api.zoom.us/v2/users). This step is returning a successful status code (201) and the response is as follows:

{“id”:"[redacted] “,“first\_name”:“redacted”,“last\_name”:“redacted”,“email”:"xxx@xxx.com”,“type”:2}

The next step is to update the user by making a PATCH request to [https://api.zoom.us/v2/users/[redacted]](https://api.zoom.us/v2/users/%5Bredacted%5D) with the following

**Headers:**  
{  
“Accept”: “application/json”,  
“Authorization”: “Bearer [token]”,  
“Content-Type”: “application/json”  
}

**Body:**  
{  
“timezone”: “America/New\_York”,  
“location”: “Garden City”,  
“job\_title”: “Associate Trainee”  
}

This is returning a 404 status code with response content {“code”:1001,“message”:“User does not exist: [redacted]”}

I can see from the front-end that the user shows up under Pending Users and if I send a GET to [https://api.zoom.us/v2/users/[redacted]](https://api.zoom.us/v2/users/%5Bredacted%5D) it returns the user record as expected, so the issue seems to be with the Update a user endpoint.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [August 10, 2022, 4:35pm UTC](https://devforum.zoom.us/t/issue-with-update-a-user-endpoint/73998/2 "2022-08-10T16:35:57Z")

</div>

Hi @tcoutant ,

I checked our backend and confirm the user is created, but please do not put this info on the forum going forward.

Can you please submit a [support ticket](https://support.zoom.us/hc/en-us) with the full request/response body, account Id and a link to this post please so we can further investigate why the it’s coming back that the user does not exist?

Thanks!

---

<div class="post-metadata">

**Author:** ![tcoutant](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tcoutant/32/56541_2.png) [@tcoutant](https://devforum.zoom.us/u/tcoutant)\
**Post date:** [August 10, 2022, 5:44pm UTC](https://devforum.zoom.us/t/issue-with-update-a-user-endpoint/73998/3 "2022-08-10T17:44:55Z")

</div>

Ticket #15066883 created

---

<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:** [August 14, 2023, 9:21am UTC](https://devforum.zoom.us/t/issue-with-update-a-user-endpoint/73998/4 "2023-08-14T09:21:23Z")

</div>

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