# Multiple identities - How to Update the User Profile Details of the Linked Accounts

**URL:** <https://community.auth0.com/t/multiple-identities-how-to-update-the-user-profile-details-of-the-linked-accounts/125085>\
**Category:** Get Help\
**Tags:** google-social-connection, connections\
**Created:** [January 18, 2024, 11:06am UTC](https://community.auth0.com/t/multiple-identities-how-to-update-the-user-profile-details-of-the-linked-accounts/125085 "2024-01-18T11:06:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexandro.oliveira](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alexandro.oliveira/32/48573_2.png) [@alexandro.oliveira](https://community.auth0.com/u/alexandro.oliveira)\
**Post date:** [January 18, 2024, 11:06am UTC](https://community.auth0.com/t/multiple-identities-how-to-update-the-user-profile-details-of-the-linked-accounts/125085/1 "2024-01-18T11:06:38Z")

</div>

Hello,

I am searching for guidance on updating email and password details for secondary identities in Auth0, specifically for accounts with multiple connections using Username-Password-Authentication. I’ve reviewed discussions on the Auth0 Community forums ([link 1](https://community.auth0.com/t/how-to-update-the-user-profile-details-of-the-linked-accounts/84495/1) and [link 2](https://community.auth0.com/t/how-do-you-update-details-of-secondary-linked-accounts/41682/4)), but haven’t found information relevant to my case.

My primary account uses Google OAuth, which doesn’t allow email changes. I have successfully linked this account with more than three accounts using Username-Password-Authentication. However, I’m unable to find a method to change the email for the third or subsequent linked accounts.

Is there a way to use the Auth0 user\_id or another method to update the email for these secondary linked accounts? Any assistance or pointers to relevant API documentation would be greatly appreciated.

Thank you in advance.

PS: If i have just 1 Username-Password-Authentication linked, it updates with success.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [January 18, 2024, 7:40pm UTC](https://community.auth0.com/t/multiple-identities-how-to-update-the-user-profile-details-of-the-linked-accounts/125085/3 "2024-01-18T19:40:28Z")

</div>

Hi @alexandro.oliveira,

Whenever you link a secondary or subsequent user account to the primary user account, the secondary account is removed from the users list, and its information is embedded in the identities array of the primary profile. However, because it’s not possible to modify the information in the identities array, as mentioned [here](https://auth0.com/docs/manage-users/user-accounts/user-profiles/user-profile-structure#:~:text=N-,identities,-array%20(object)), updating the email of these secondary users will require a workaround.

To update the email addresses of linked accounts, you will need to first unlink the secondary account from the primary account using the Management API’s [Unlink a user identity endpoint](https://auth0.com/docs/api/management/v2/users/delete-user-identity-by-user-id). This will recreate the secondary account, allowing you to call the Management API’s Update a user endpoint to update the email address.

Once that’s done, you can use the Management API’s [Link a user account endpoint](https://auth0.com/docs/api/management/v2/users/post-identities) to relink the accounts.

Please let me know if you have any questions.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![alexandro.oliveira](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alexandro.oliveira/32/48573_2.png) [@alexandro.oliveira](https://community.auth0.com/u/alexandro.oliveira)\
**Post date:** [January 22, 2024, 12:15pm UTC](https://community.auth0.com/t/multiple-identities-how-to-update-the-user-profile-details-of-the-linked-accounts/125085/4 "2024-01-22T12:15:01Z")

</div>

thanks for reply.

this information is enough for me.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 5, 2024, 12:15pm UTC](https://community.auth0.com/t/multiple-identities-how-to-update-the-user-profile-details-of-the-linked-accounts/125085/5 "2024-02-05T12:15:43Z")

</div>

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