# Update user api doesn't work properly

**URL:** <https://devforum.zoom.us/t/update-user-api-doesnt-work-properly/57420>\
**Category:** API and Webhooks\
**Created:** [September 14, 2021, 10:02am UTC](https://devforum.zoom.us/t/update-user-api-doesnt-work-properly/57420 "2021-09-14T10:02:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![itdaa\_develop](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/itdaa_develop/32/28941_2.png) [@itdaa\_develop](https://devforum.zoom.us/u/itdaa_develop)\
**Post date:** [September 14, 2021, 10:02am UTC](https://devforum.zoom.us/t/update-user-api-doesnt-work-properly/57420/1 "2021-09-14T10:02:26Z")

</div>

**Description**  
I’m using update\_user API to switch basic user to licensed.

> **[Update a user - Users - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/userupdate)**
>
> Update information on a user's Zoom profile. For user-level apps, pass the me value instead of the userId parameter.
> 
> Scopes: user:write:admin user:writ...

Recently, I have a lot of issues with this API because it doesn’t give an license to a user.

**Error**  
There’s no such log but I found this behavior a lot.

This pic is a list of whom have a license.  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/8/d86c6b0e690638526be87271182e5326d49a8b9f.png)

However it turns out they doesn’t have it.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/b/ab50ad5952c2d800ddd97f7cab03a7e15bfacd1f.png)

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

**Which Endpoint/s?**

> **[Update a user - Users - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/userupdate)**
>
> Update information on a user's Zoom profile. For user-level apps, pass the me value instead of the userId parameter.
> 
> Scopes: user:write:admin user:writ...

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:  
Just call this api under instruction.

---

<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:** [September 15, 2021, 4:29pm UTC](https://devforum.zoom.us/t/update-user-api-doesnt-work-properly/57420/2 "2021-09-15T16:29:51Z")

</div>

Hey @itdaa_develop,

Can you share an example request body that you’re passing?

Additionally, please double check that you’re using HTTP PATCH method, and that you have enough licenses already provisioned under your account.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![itdaa\_develop](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/itdaa_develop/32/28941_2.png) [@itdaa\_develop](https://devforum.zoom.us/u/itdaa_develop)\
**Post date:** [September 16, 2021, 3:27am UTC](https://devforum.zoom.us/t/update-user-api-doesnt-work-properly/57420/3 "2021-09-16T03:27:27Z")

</div>

Hi will,

here’s a log from API request.

```auto
{
  "endpoint": "https://api.zoom.us/v2/users/{id}",
  "response_headers": [
    "Set-Cookie: zm_aid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly"
  ],
  "date_time": "2021-09-16 12:20:42",
  "method": "PATCH",
  "request_body": "{"type":2}",
  "response": "N/A",
  "request_headers": [
    "accept-encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3",
    "accept: */*",
    "authorization: ******",
    "connection: close",
    "content-type: application/json",
    "user-agent: Zoom Ruby Client Gem 0.4.0"
  ],
  "request_params": [],
  "http_status": "204"
}

```

It’s what we usually request to the API.

Plus, I usually secure one more license which we need.

---

<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:** [September 17, 2021, 1:44pm UTC](https://devforum.zoom.us/t/update-user-api-doesnt-work-properly/57420/4 "2021-09-17T13:44:25Z")

</div>

Hi @itdaa_develop,

Thanks for sharing. And have you confirmed you currently have enough licenses to cover this request?

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![itdaa\_develop](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/itdaa_develop/32/28941_2.png) [@itdaa\_develop](https://devforum.zoom.us/u/itdaa_develop)\
**Post date:** [September 27, 2021, 5:24am UTC](https://devforum.zoom.us/t/update-user-api-doesnt-work-properly/57420/5 "2021-09-27T05:24:56Z")

</div>

Hi @will.zoom,

Yes, I double-checked the current license qty.

As I mentioned, it says a user has a license on the list but it’s not on user’s profile page when I search by license types.

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/f/2f663f5ab47cf7cf1a7c6cbe55bd59d309e81fcf.png)

---

<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:** [September 29, 2021, 9:47am UTC](https://devforum.zoom.us/t/update-user-api-doesnt-work-properly/57420/6 "2021-09-29T09:47:37Z")

</div>

Thank you for confirming @itdaa_develop . In order for us to take a closer look, can you please send us an email at [developersupport@zoom.us](mailto:developersupport@zoom.us) with these details and your account ID or user ID/email?

Thank you,  
Will

---

<div class="post-metadata">

**Author:** ![itdaa\_develop](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/itdaa_develop/32/28941_2.png) [@itdaa\_develop](https://devforum.zoom.us/u/itdaa_develop)\
**Post date:** [September 30, 2021, 9:04am UTC](https://devforum.zoom.us/t/update-user-api-doesnt-work-properly/57420/7 "2021-09-30T09:04:56Z")

</div>

Hi @will.zoom,  
I’ve just sent email to `developersupport@zoom.us` regarding this issue and email threads.

Thanks.

---

<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:** [September 30, 2021, 1:41pm UTC](https://devforum.zoom.us/t/update-user-api-doesnt-work-properly/57420/8 "2021-09-30T13:41:56Z")

</div>

Thanks @itdaa_develop,

We will be in touch shortly.

---

<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:** [October 30, 2021, 11:42pm UTC](https://devforum.zoom.us/t/update-user-api-doesnt-work-properly/57420/9 "2021-10-30T23:42:10Z")

</div>

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