# API PUT /users/{userId}/status doesn't work in some cases

**URL:** <https://devforum.zoom.us/t/api-put-users-userid-status-doesnt-work-in-some-cases/58684>\
**Category:** API and Webhooks\
**Created:** [October 11, 2021, 12:52pm UTC](https://devforum.zoom.us/t/api-put-users-userid-status-doesnt-work-in-some-cases/58684 "2021-10-11T12:52:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![leonaldo.bjunior](https://avatars.discourse-cdn.com/v4/letter/l/b4bc9f/32.png) [@leonaldo.bjunior](https://devforum.zoom.us/u/leonaldo.bjunior)\
**Post date:** [October 11, 2021, 12:52pm UTC](https://devforum.zoom.us/t/api-put-users-userid-status-doesnt-work-in-some-cases/58684/1 "2021-10-11T12:52:16Z")

</div>

**Description**  
I found some bug on zoom API’s, I’m using API “[PUT /users/{userId}/status](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/userstatus)” to deactivate and activate zoom accounts, the deactivate works, but to activate again is not working, this is happen only on two accounts so far, I did the same process more than 50 accounts, and worked, I don’t understand why on those two account is not working. Below you can check my token has the role user:write:admin:

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/0/90de4546281d7aa2d69d0d40eab9bcec1ebfe263.png)

This is my request with the JSON body “action: activate”:

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

This is the answer from my request:

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

As you can see the answer from zoom resource server is “204 No Content” indicates that a request has succeeded, but nothing happens, because on the zoom portal the user is still Deactivated, see below:

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

And also, I send a request to change the license to type ‘2’ for this user, the answer was 204 but nothing happens again.

This is an urgency issue for my company, please answer as soon as possible

---

<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:** [October 13, 2021, 10:33am UTC](https://devforum.zoom.us/t/api-put-users-userid-status-doesnt-work-in-some-cases/58684/2 "2021-10-13T10:33:02Z")

</div>

Hi @leonaldo.bjunior,

Thank you for raising this with us. In order for us to take a closer look, can you please open a ticket with us [here](https://devsupport.zoom.us) and include the following details:

- Full request details
- The user ID you’re testing with
- The timestamp of the latest request that didn’t work as expected

Thank you,  
Will

---

<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:** [November 12, 2021, 8:33pm UTC](https://devforum.zoom.us/t/api-put-users-userid-status-doesnt-work-in-some-cases/58684/3 "2021-11-12T20:33:24Z")

</div>

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