# PATCH Method Not working to Update job\_title and location

**URL:** <https://devforum.zoom.us/t/patch-method-not-working-to-update-job-title-and-location/52939>\
**Category:** API and Webhooks\
**Created:** [June 22, 2021, 7:50pm UTC](https://devforum.zoom.us/t/patch-method-not-working-to-update-job-title-and-location/52939 "2021-06-22T19:50:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![lpeterson](https://avatars.discourse-cdn.com/v4/letter/l/8797f3/32.png) [@lpeterson](https://devforum.zoom.us/u/lpeterson)\
**Post date:** [June 22, 2021, 7:50pm UTC](https://devforum.zoom.us/t/patch-method-not-working-to-update-job-title-and-location/52939/1 "2021-06-22T19:50:07Z")

</div>

## Using this template helps us debug your issues more effectively 🙂

**Description**  
After a new account is created I am trying to update the job\_title and location in the user’s profile but the updates are not working. I have been updating other features, e.g., User group\_id, large\_meeting = “true” and large\_meeting\_capacity = “500” and those update correctly.

**Error**  
No error. I get a status code of 204 but I do not see the updates in the users’ profiles.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
JWT

**Which Endpoint/s?**  
$Uri = “[https://api.zoom.us/v2/users/](https://api.zoom.us/v2/users/)” + $email + “/settings”

**How To Reproduce (If applicable)**  
I’m pasting in part of the PowerShell code that is used for doing the update:  
$body = @{  
feature = @{  
large\_meeting = “true”  
large\_meeting\_capacity = “500”  
group\_id = “GIBSON-Main”  
job\_title = “$BusTitle”  
location = “$Location”}

```
                        } | ConvertTo-Json

```

$User = “Name: $FirstName $LastName, Email: $email”  
$Uri = “[https://api.zoom.us/v2/users/](https://api.zoom.us/v2/users/)” + $email + “/settings”  
$response = Invoke-WebRequest -Uri $Uri -Method PATCH -Headers $headers -Body $body -ContentType ‘application/json’  
$UpdateResponse = $response.StatusCode

**Screenshots (If applicable)**  
If applicable, add screenshots to help explain your problem.

**Additional context**  
None. Just not sure why these updates are not working. Please let me know if I am doing something incorrectly to update the job\_title and location profile fields.  
Thank you,  
Leslie

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 24, 2021, 2:07am UTC](https://devforum.zoom.us/t/patch-method-not-working-to-update-job-title-and-location/52939/2 "2021-06-24T02:07:18Z")

</div>

Hey @lpeterson,

Thank you for reaching out to the Zoom Developer Forum. The job\_title and location values aren’t set via that API and I’m not seeing them as part of the feature object in the [Update User Settings API](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usersettingsupdate):

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/6/96039ec4f4270dba4f7d352908b5324c68574d00.png)

Instead, you can set these values with the [Update a User API](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/userupdate).

Let me know if that helps.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![lpeterson](https://avatars.discourse-cdn.com/v4/letter/l/8797f3/32.png) [@lpeterson](https://devforum.zoom.us/u/lpeterson)\
**Post date:** [June 24, 2021, 4:15pm UTC](https://devforum.zoom.us/t/patch-method-not-working-to-update-job-title-and-location/52939/3 "2021-06-24T16:15:31Z")

</div>

Hi Max,

Okay, I’ll take a look, I’ll see what you mean. I’ll give this a try today. So is the URI: "[https://api.zoom.us/v2/users/](https://api.zoom.us/v2/users/) **{userID}** where the **{userID}** is the email?

Thanks,

Leslie

---

<div class="post-metadata">

**Author:** ![lpeterson](https://avatars.discourse-cdn.com/v4/letter/l/8797f3/32.png) [@lpeterson](https://devforum.zoom.us/u/lpeterson)\
**Post date:** [June 25, 2021, 1:35am UTC](https://devforum.zoom.us/t/patch-method-not-working-to-update-job-title-and-location/52939/4 "2021-06-25T01:35:04Z")

</div>

Thank you Alex, when I modified the URI it worked!

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 26, 2021, 2:06am UTC](https://devforum.zoom.us/t/patch-method-not-working-to-update-job-title-and-location/52939/5 "2021-06-26T02:06:33Z")

</div>

Awesome! I’m glad that helped!

> [@lpeterson](#):
>
> So is the URI: "[https://api.zoom.us/v2/users/](https://api.zoom.us/v2/users/) **{userID}** where the **{userID}** is the email?

That’s right!

I’ll go ahead and close this topic now but feel free to open a new topic if you encounter any further issues or questions.

Max

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 26, 2021, 2:07am UTC](https://devforum.zoom.us/t/patch-method-not-working-to-update-job-title-and-location/52939/6 "2021-06-26T02:07:25Z")

</div>

Closed on June 26, 2021, 2:07am UTC


