PATCH Method Not working to Update job_title and location

Using this template helps us debug your issues more effectively :slight_smile:

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/” + $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/” + $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

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:

Instead, you can set these values with the Update a User API.

Let me know if that helps.

Thanks,
Max

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/{userID} where the {userID} is the email?

Thanks,

Leslie

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

Awesome! I’m glad that helped!

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