Issue with update a user endpoint

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. 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] 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] it returns the user record as expected, so the issue seems to be with the Update a user endpoint.

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 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!

Ticket #15066883 created

1 Like