# Update User's fields (SCIM2 API)

**URL:** <https://devforum.zoom.us/t/update-users-fields-scim2-api/6248>\
**Category:** API and Webhooks\
**Created:** [October 14, 2019, 6:41pm UTC](https://devforum.zoom.us/t/update-users-fields-scim2-api/6248 "2019-10-14T18:41:17Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![isvtest](https://avatars.discourse-cdn.com/v4/letter/i/ecae2f/32.png) [@isvtest](https://devforum.zoom.us/u/isvtest)\
**Post date:** [October 14, 2019, 6:41pm UTC](https://devforum.zoom.us/t/update-users-fields-scim2-api/6248/1 "2019-10-14T18:41:17Z")

</div>

**Description/Error**  
I am trying to update an existing user’s information. This user was created using the Zoom SCIM2 API. I have found that I am able to update an existing user’s active, name, userType, and department fields. However, I am unable to update a User’s loginType, displayName, and userName fields. When I try to update anyone of those fields I get a 200 response, but the fields do not update. Is it possible to update an existing user’s loginType, displayName, and userName fields?

**Which Endpoint/s?**

> **[Update a User - User - SCIM2 API - API Reference](https://marketplace.zoom.us/docs/api-reference/scim-api/user/userscim2update)**
>
> Update a user's information.
> 
> OAuth Scope: scim2
> 
> Authorization
> 
> Request Parameters
> 
> Request Body
> 
> The schema below shows a list of properties that can ...

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Update user’s username

Request: PUT scim2/Users/{userId}  
Headers: Content-Type: application/json  
Authorization Bearer {oauth access token}  
Body: {  
“schemas”: [  
“urn:ietf:params:scim:schemas:core:2.0:User”  
],  
“userName”: “[someusername@gmail.com](mailto:someusername@gmail.com)”  
}

1. See error

**Screenshots (If applicable)**

 ![48%20AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/4/488b3bedd5cdea42d52ddf4767e43ff305076a5b.png)

**Additional context**  
Add any other context about the problem here.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [October 14, 2019, 10:25pm UTC](https://devforum.zoom.us/t/update-users-fields-scim2-api/6248/2 "2019-10-14T22:25:00Z")

</div>

Hey @isvtest, thanks for reaching out and using Zoom!

> [@isvtest](#):
>
> Is it possible to update an existing user’s loginType, displayName, and userName fields?

Yes this should be possible. Our team is currently investigating, and I will post back here with updates.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![isvtest](https://avatars.discourse-cdn.com/v4/letter/i/ecae2f/32.png) [@isvtest](https://devforum.zoom.us/u/isvtest)\
**Post date:** [October 15, 2019, 6:06pm UTC](https://devforum.zoom.us/t/update-users-fields-scim2-api/6248/4 "2019-10-15T18:06:26Z")

</div>

I have also found an issue with the create user endpoint, [https://marketplace.zoom.us/docs/api-reference/scim-api/user/userscim2create](https://marketplace.zoom.us/docs/api-reference/scim-api/user/userscim2create), I can only create a user with

“loginType”: {  
“workEmail”: “false”,  
“sso”: “true”  
}

any other combination of workEmail, SSO bool value inputs fails. I get a successful response, but when I attempt to read that user with the returned userId, I get an error stating that the user does not exist. Is workEmail not supported?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [October 15, 2019, 10:26pm UTC](https://devforum.zoom.us/t/update-users-fields-scim2-api/6248/5 "2019-10-15T22:26:39Z")

</div>

Hey @isvtest,

Are you passing in the userID for [GET /scim2/Users/{userId}](https://marketplace.zoom.us/docs/api-reference/scim-api/user/userscim2get)? It should work.

We still looking into the update issue too.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![isvtest](https://avatars.discourse-cdn.com/v4/letter/i/ecae2f/32.png) [@isvtest](https://devforum.zoom.us/u/isvtest)\
**Post date:** [October 15, 2019, 10:38pm UTC](https://devforum.zoom.us/t/update-users-fields-scim2-api/6248/6 "2019-10-15T22:38:39Z")

</div>

@tommy

Yes. After I create the user, I confirm that the user is created by hitting that endpoint, [https://marketplace.zoom.us/docs/api-reference/scim-api/user/userscim2get](https://marketplace.zoom.us/docs/api-reference/scim-api/user/userscim2get). Additionally, I also check by hitting the endpoint that lists all users, [https://marketplace.zoom.us/docs/api-reference/scim-api/user/userscim2list](https://marketplace.zoom.us/docs/api-reference/scim-api/user/userscim2list). In both cases the created user is not found. See Attachment. NOTE:  
“loginType”: {  
“sso”: “true”,  
“workEmail”: “true”  
}  
create user, returns successful response. get user returns response stating that the created user does not belong to account. Get users endpoint does not include the created user in the response.

 ![27%20PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/4/48659627c7efa0574c78c988b08f4a717d75f94f.png)

---

<div class="post-metadata">

**Author:** ![isvtest](https://avatars.discourse-cdn.com/v4/letter/i/ecae2f/32.png) [@isvtest](https://devforum.zoom.us/u/isvtest)\
**Post date:** [October 15, 2019, 10:40pm UTC](https://devforum.zoom.us/t/update-users-fields-scim2-api/6248/7 "2019-10-15T22:40:02Z")

</div>

![06%20PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/a/a274ef412deabb346d373a49649c0155d86992aa.png)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [October 16, 2019, 10:11pm UTC](https://devforum.zoom.us/t/update-users-fields-scim2-api/6248/10 "2019-10-16T22:11:35Z")

</div>

Thanks @isvtest,

We are looking into this and hope to have an answer to you tomorrow!

Thanks,  
Tommy

---

<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:** [October 17, 2019, 7:41pm UTC](https://devforum.zoom.us/t/update-users-fields-scim2-api/6248/11 "2019-10-17T19:41:11Z")

</div>

Hi @isvtest,

> [@isvtest](#):
>
> However, I am unable to update a User’s loginType, displayName, and userName fields. When I try to update anyone of those fields I get a 200 response, but the fields do not update. Is it possible to update an existing user’s loginType, displayName, and userName fields?

Our documentation was incorrect at the time, we have not corrected it. You are not actually able to update the loginType, displayName, userName. The API call will return 200 if you use the required paramters correctly then it will ignore the other parameters.

> [@isvtest](#):
>
> I have also found an issue with the create user endpoint, [https://marketplace.zoom.us/docs/api-reference/scim-api/user/userscim2create](https://marketplace.zoom.us/docs/api-reference/scim-api/user/userscim2create), I can only create a user with
> 
> “loginType”: {  
> “workEmail”: “false”,  
> “sso”: “true”  
> }

You should be able to use other combination for workEmail and SSO.

> [@isvtest](#):
>
> Yes. After I create the user, I confirm that the user is created by hitting that endpoint, [https://marketplace.zoom.us/docs/api-reference/scim-api/user/userscim2get](https://marketplace.zoom.us/docs/api-reference/scim-api/user/userscim2get). Additionally, I also check by hitting the endpoint that lists all users, [https://marketplace.zoom.us/docs/api-reference/scim-api/user/userscim2list](https://marketplace.zoom.us/docs/api-reference/scim-api/user/userscim2list). In both cases the created user is not found. See Attachment. NOTE:  
> “loginType”: {  
> “sso”: “true”,  
> “workEmail”: “true”  
> }  
> create user, returns successful response. get user returns response stating that the created user does not belong to account. Get users endpoint does not include the created user in the response.
> 
> ![Screen Shot 2019-10-15 at 3.32.27 PM.png](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/4/48659627c7efa0574c78c988b08f4a717d75f94f.png)

After you create the user, the user will still have to click the activation link within their email to join the account. If you check your user account in the Zoom web portal, they will be under the pending tab until after they click the activation link.

---

<div class="post-metadata">

**Author:** ![isvtest](https://avatars.discourse-cdn.com/v4/letter/i/ecae2f/32.png) [@isvtest](https://devforum.zoom.us/u/isvtest)\
**Post date:** [October 18, 2019, 6:10pm UTC](https://devforum.zoom.us/t/update-users-fields-scim2-api/6248/12 "2019-10-18T18:10:48Z")

</div>

@michael_p.zoom

Thank you for the clarification. I also want to point out that the List Users endpoint, [https://marketplace.zoom.us/docs/api-reference/scim-api/user/userscim2list](https://marketplace.zoom.us/docs/api-reference/scim-api/user/userscim2list), might also need API docs updated. Currently the only filter listed in the docs that works is userName. All other filters do not work. I get an error message stating that “The current filter is not supported”. See attachments.

 ![26%20AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/8/8fd2b7e5ceb168ddc803a169b480144c1df26ee6.png)

---

<div class="post-metadata">

**Author:** ![isvtest](https://avatars.discourse-cdn.com/v4/letter/i/ecae2f/32.png) [@isvtest](https://devforum.zoom.us/u/isvtest)\
**Post date:** [October 18, 2019, 6:11pm UTC](https://devforum.zoom.us/t/update-users-fields-scim2-api/6248/13 "2019-10-18T18:11:29Z")

</div>

![23%20AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/8/895419cef171d75d76894ecf0947af5288972799.png)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [October 18, 2019, 9:09pm UTC](https://devforum.zoom.us/t/update-users-fields-scim2-api/6248/14 "2019-10-18T21:09:50Z")

</div>

Thanks @isvtest,

We will update the docs! 🙂

-Tommy

---

<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, 6:59pm UTC](https://devforum.zoom.us/t/update-users-fields-scim2-api/6248/15 "2020-08-21T18:59:53Z")

</div>


