Secondary account will not unlink

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

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!

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!