# How do you update details of secondary linked accounts?

**URL:** <https://community.auth0.com/t/how-do-you-update-details-of-secondary-linked-accounts/41682>\
**Category:** Get Help\
**Tags:** update, account-linking, management-api\
**Created:** [April 24, 2020, 12:30am UTC](https://community.auth0.com/t/how-do-you-update-details-of-secondary-linked-accounts/41682 "2020-04-24T00:30:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![georgea](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/georgea/32/19886_2.png) [@georgea](https://community.auth0.com/u/georgea)\
**Post date:** [April 24, 2020, 12:30am UTC](https://community.auth0.com/t/how-do-you-update-details-of-secondary-linked-accounts/41682/1 "2020-04-24T00:30:11Z")

</div>

We have users who have multiple accounts linked (SMS passwordless, email passwordless, username/password, etc).

We have an admin UI which will allow admin users to update the mobile number of a user.

Using the ManagementAPi, I can see I can easily update the mobile number of a SMS passwordless account if it is a primary account, but how do I do this when it is a secondary account?

I did try constructing a userId myself for the secondary account to see if I could use that to do the update, but it says user not found.

Is my only option to un-link the SMS passwordless account first, update it and then re-link it?

Regards,  
George.

---

<div class="post-metadata">

**Author:** ![pgomez](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pgomez/32/12814_2.png) [@pgomez](https://community.auth0.com/u/pgomez)\
**Post date:** [October 29, 2020, 3:09pm UTC](https://community.auth0.com/t/how-do-you-update-details-of-secondary-linked-accounts/41682/2 "2020-10-29T15:09:26Z")

</div>

I’d also like an answer to this question

---

<div class="post-metadata">

**Author:** ![rad](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rad/32/28726_2.png) [@rad](https://community.auth0.com/u/rad)\
**Post date:** [November 12, 2021, 12:40pm UTC](https://community.auth0.com/t/how-do-you-update-details-of-secondary-linked-accounts/41682/3 "2021-11-12T12:40:59Z")

</div>

Hi all, has this one been solved?

---

<div class="post-metadata">

**Author:** ![georgea](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/georgea/32/19886_2.png) [@georgea](https://community.auth0.com/u/georgea)\
**Post date:** [November 14, 2021, 8:12pm UTC](https://community.auth0.com/t/how-do-you-update-details-of-secondary-linked-accounts/41682/4 "2021-11-14T20:12:53Z")

</div>

I ended up having to unlink the accounts, update each as required, and then relink them again

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [November 15, 2021, 9:38am UTC](https://community.auth0.com/t/how-do-you-update-details-of-secondary-linked-accounts/41682/5 "2021-11-15T09:38:23Z")

</div>

Thanks for sharing that with the rest of community!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [November 25, 2021, 12:53pm UTC](https://community.auth0.com/t/how-do-you-update-details-of-secondary-linked-accounts/41682/6 "2021-11-25T12:53:56Z")

</div>



---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [March 23, 2022, 3:23pm UTC](https://community.auth0.com/t/how-do-you-update-details-of-secondary-linked-accounts/41682/7 "2022-03-23T15:23:07Z")

</div>

Hi folks, here is an update.

You can update a linked user’s data via the management API update user endpoint by passing the linked connection parameter in the body of the request.

For example:

```bash
 curl --location --request PATCH 'https://{DOMAIN}/api/v2/users/{PRIMARY_IDENTITY_ID}' \ 
 --header 'Authorization: Bearer ' \ 
 --header 'Content-Type: application/json' \ 
 --data-raw '{ "phone_number":"{NEW_PHONE_NUMBER}" "connection": "sms" }'

```

Hope that helps!
