# Secondary account will not unlink

**URL:** <https://community.auth0.com/t/secondary-account-will-not-unlink/78005>\
**Category:** Get Help\
**Tags:** custom-social-connec, account-linking\
**Created:** [February 10, 2022, 12:56am UTC](https://community.auth0.com/t/secondary-account-will-not-unlink/78005 "2022-02-10T00:56:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dave6](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dave6/32/26439_2.png) [@dave6](https://community.auth0.com/u/dave6)\
**Post date:** [February 10, 2022, 12:56am UTC](https://community.auth0.com/t/secondary-account-will-not-unlink/78005/1 "2022-02-10T00:56:53Z")

</div>

Hey everyone,

I am struggling with an issue where I call the DELETE endpoint to unlink an account outlined in the docs, and the endpoint returns a 200 status code but **does not unlink the secondary account that was targeted in the API call.**

[https://auth0.com/docs/api/management/v2#!/Users/delete\_user\_identity\_by\_user\_id](https://auth0.com/docs/api/management/v2#!/Users/delete_user_identity_by_user_id)

I’ve made the call using the management api explorer, and from my application. both calls return a 200 status code, **but the secondary identity remains in the array of identities for the user.**

What is going on here? Thanks!

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [May 5, 2022, 6:16pm UTC](https://community.auth0.com/t/secondary-account-will-not-unlink/78005/4 "2022-05-05T18:16:49Z")

</div>

Hi @dave6 ,

Thank you for posting this topic on the Auth0 Community!

I tested this endpoint with Postman and unlinked the account successfully. This is my endpoint:

`https://<domain>/api/v2/users/google-oauth2|103200078395965847851/identities/auth0/62740f47a16c3200689e4f8f`

In my example, the primary account is Google, and the secondary is an auth0 user.

If you are still facing this issue, please provide your endpoint, and I will continue looking into this. Thanks!

---

<div class="post-metadata">

**Author:** ![jeremy.gray](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jeremy.gray/32/40254_2.png) [@jeremy.gray](https://community.auth0.com/u/jeremy.gray)\
**Post date:** [September 30, 2022, 10:56pm UTC](https://community.auth0.com/t/secondary-account-will-not-unlink/78005/5 "2022-09-30T22:56:20Z")

</div>

I’m experiencing the same issue as the OP.

Earlier this week I was able to successfully use the Management API docs to unlink identities, however now it seems to not be the case.

From the network tab, I can see the request taking place and succeeding, however the identities remain unchanged.

Is there latency until the user entity is fully updated?

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [September 30, 2022, 11:23pm UTC](https://community.auth0.com/t/secondary-account-will-not-unlink/78005/6 "2022-09-30T23:23:56Z")

</div>

@jeremy.gray ,

Could you please DM me the tenant name, user id and the API endpoint you sent the request to for unlinking the secondary account?

Thanks!

---

<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:** [December 22, 2022, 9:26am UTC](https://community.auth0.com/t/secondary-account-will-not-unlink/78005/7 "2022-12-22T09:26:04Z")

</div>


