# V2 Update User not working

**URL:** <https://devforum.zoom.us/t/v2-update-user-not-working/1601>\
**Category:** API and Webhooks\
**Created:** [August 13, 2018, 4:52pm UTC](https://devforum.zoom.us/t/v2-update-user-not-working/1601 "2018-08-13T16:52:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Biggs](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@Brian\_Biggs](https://devforum.zoom.us/u/Brian_Biggs)\
**Post date:** [August 13, 2018, 4:52pm UTC](https://devforum.zoom.us/t/v2-update-user-not-working/1601/1 "2018-08-13T16:52:13Z")

</div>

Hi,

&nbsp;

I’m able to create a valid JWT and pull user data successfully. However when I attempt to update a user I’m getting an error:

&nbsp;

{“code”:300,“message”:“Unsupported Content Type”}

&nbsp;

Your docs indicate it’s a “PATCH” http call, but in the example curl call you don’t include a -X PATCH argument…

&nbsp;

for example:

&nbsp;

/usr/bin/curl -X PATCH -s -S -d ‘{“first\_name”:“Apache”}’ -H ‘Authorization: Bearer VALID\_JWT\_TOKEN’ [https://api.zoom.us/v2/users/ZOOM\_USER\_ID](https://api.zoom.us/v2/users/ZOOM_USER_ID)

results in:

{“code”:300,“message”:“Unsupported Content Type”}

&nbsp;

and if I call it the way the docs describe (without the -X PATCH argument) I get a huge zoom error page with no json content.

&nbsp;

Any help here appreciated.

&nbsp;

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [August 13, 2018, 5:11pm UTC](https://devforum.zoom.us/t/v2-update-user-not-working/1601/2 "2018-08-13T17:11:51Z")

</div>

Hi Brian,&nbsp;

Yes. you do need to -X Patch in your curl command, here is a sample one below, if successful you should receive a 204 code.&nbsp;

curl -X PATCH “[https://api.zoom.us/v2/users/{user-id}?access\_token=mLY1\_5lHPdlXbRs](https://api.zoom.us/v2/users/%7Buser-id%7D?access_token=mLY1_5lHPdlXbRs)” -H “accept: application/json” -H “Content-Type: application/json” -d “{ “first\_name”: “Jim”}”

Thanks

---

<div class="post-metadata">

**Author:** ![Brian\_Biggs](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@Brian\_Biggs](https://devforum.zoom.us/u/Brian_Biggs)\
**Post date:** [August 13, 2018, 5:25pm UTC](https://devforum.zoom.us/t/v2-update-user-not-working/1601/3 "2018-08-13T17:25:51Z")

</div>

Thanks Michael. I got it working now. It would help immensely if your API docs were current and included valid, working examples.

&nbsp;

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [August 13, 2018, 5:38pm UTC](https://devforum.zoom.us/t/v2-update-user-not-working/1601/4 "2018-08-13T17:38:32Z")

</div>

Hi Brain,&nbsp;

Glad that you got it working, we’re working on updating our docs as we speak.&nbsp;

Thanks

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 5:52pm UTC](https://devforum.zoom.us/t/v2-update-user-not-working/1601/5 "2020-08-21T17:52:57Z")

</div>


