# Update a user's email is not working Via API call

**URL:** <https://devforum.zoom.us/t/update-a-users-email-is-not-working-via-api-call/2828>\
**Category:** API and Webhooks\
**Created:** [December 27, 2018, 5:58pm UTC](https://devforum.zoom.us/t/update-a-users-email-is-not-working-via-api-call/2828 "2018-12-27T17:58:52Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Developer\_Ajait\_Test](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developer_ajait_test/32/165_2.png) [@Developer\_Ajait\_Test](https://devforum.zoom.us/u/Developer_Ajait_Test)\
**Post date:** [December 27, 2018, 5:58pm UTC](https://devforum.zoom.us/t/update-a-users-email-is-not-working-via-api-call/2828/1 "2018-12-27T17:58:52Z")

</div>

Tried to update the email address using “PUT” [/users/{userId}/email](https://developer.zoom.us/playground/#/Users/userEmailUpdate) Which is not working from API call. As per customer support , there is a bug.

Getting below error  
{  
“code”: 1116,  
“message”: “Domain name doesn’t match, please contact Zoom customer support to set managed domains for your account”  
}

Any help appreciated !!

---

<div class="post-metadata">

**Author:** ![bdeanindy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bdeanindy/32/154_2.png) [@bdeanindy](https://devforum.zoom.us/u/bdeanindy)\
**Post date:** [December 27, 2018, 8:04pm UTC](https://devforum.zoom.us/t/update-a-users-email-is-not-working-via-api-call/2828/2 "2018-12-27T20:04:10Z")

</div>

Hey @Developer_Ajait_Test  
Could you please provide the full request you’re sending (complete with headers/body, but filter out any sensitive data)?

---

<div class="post-metadata">

**Author:** ![Developer\_Ajait\_Test](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developer_ajait_test/32/165_2.png) [@Developer\_Ajait\_Test](https://devforum.zoom.us/u/Developer_Ajait_Test)\
**Post date:** [December 27, 2018, 8:07pm UTC](https://devforum.zoom.us/t/update-a-users-email-is-not-working-via-api-call/2828/3 "2018-12-27T20:07:19Z")

</div>

PUT [https://api.zoom.us/v2/users/ajxxx.x@gmail.com/email](https://api.zoom.us/v2/users/ajxxx.x@gmail.com/email)

Token : xxxxxx (access token need be added)

Body:  
{  
“email”: "xxaxxt\_x@yahoo.com"  
}

Hope this would helps !!

---

<div class="post-metadata">

**Author:** ![bdeanindy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bdeanindy/32/154_2.png) [@bdeanindy](https://devforum.zoom.us/u/bdeanindy)\
**Post date:** [December 27, 2018, 9:09pm UTC](https://devforum.zoom.us/t/update-a-users-email-is-not-working-via-api-call/2828/4 "2018-12-27T21:09:32Z")

</div>

Super, thank you.

I just tried this using identical domains and TLD on the email address, with just a different user that is known to exist.

Seems there is a bug in this API, and I have reported this issue to our engineering team to fix.

---

<div class="post-metadata">

**Author:** ![Developer\_Ajait\_Test](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developer_ajait_test/32/165_2.png) [@Developer\_Ajait\_Test](https://devforum.zoom.us/u/Developer_Ajait_Test)\
**Post date:** [December 27, 2018, 9:11pm UTC](https://devforum.zoom.us/t/update-a-users-email-is-not-working-via-api-call/2828/5 "2018-12-27T21:11:59Z")

</div>

Yes #897192 already created for this.

---

<div class="post-metadata">

**Author:** ![bdeanindy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bdeanindy/32/154_2.png) [@bdeanindy](https://devforum.zoom.us/u/bdeanindy)\
**Post date:** [December 27, 2018, 9:13pm UTC](https://devforum.zoom.us/t/update-a-users-email-is-not-working-via-api-call/2828/6 "2018-12-27T21:13:14Z")

</div>

Ah, I will see if I can associate the external issue ID with our internal engineering team’s issue ID.

In the meantime, the workaround would be to edit the user in the Zoom Client/UI.

---

<div class="post-metadata">

**Author:** ![Developer\_Ajait\_Test](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developer_ajait_test/32/165_2.png) [@Developer\_Ajait\_Test](https://devforum.zoom.us/u/Developer_Ajait_Test)\
**Post date:** [December 27, 2018, 9:14pm UTC](https://devforum.zoom.us/t/update-a-users-email-is-not-working-via-api-call/2828/7 "2018-12-27T21:14:22Z")

</div>

Thanks !! Do you know how much time this will take to fix ?

---

<div class="post-metadata">

**Author:** ![bdeanindy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bdeanindy/32/154_2.png) [@bdeanindy](https://devforum.zoom.us/u/bdeanindy)\
**Post date:** [December 28, 2018, 3:35am UTC](https://devforum.zoom.us/t/update-a-users-email-is-not-working-via-api-call/2828/8 "2018-12-28T03:35:08Z")

</div>

Hey @Developer_Ajait_Test  
Actually, our engineering team reviewed the bug report, and this is NOT an error, but rather just less-than-optimal error messaging.

The reason you’re receiving this error is because you’re ONLY permitted to change the email for the [managed domains](https://support.zoom.us/hc/en-us/articles/203395207-What-is-Managed-Domain-) on the Zoom account upon which you’re making the change.

Please read the documentation above to better understand why you’re receiving this message, and how to setup the Managed Domains for your Zoom account to permit this operation.

---

<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:01pm UTC](https://devforum.zoom.us/t/update-a-users-email-is-not-working-via-api-call/2828/9 "2020-08-21T18:01:28Z")

</div>

Closed on August 21, 2020, 6:01pm UTC


