> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-actions-triggers-prototype.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Unlink

> Deprecated endpoint for unlinking user accounts; use the Management API instead.

## Endpoint

`POST /login/unlink`

<Note>
  This endpoint is **deprecated**. The [DELETE /api/v2/users/{id}/identities/{provider}/{user_id}](/api/management/v2/users/delete-user-identity-by-user-id) should be used instead.
</Note>

Given a logged-in user's `access_token` and `user_id`, this endpoint will unlink a user's account from the identity provider.

### Learn More

* [Unlink User Accounts](https://auth0.com/docs/manage-users/user-accounts/user-account-linking/unlink-user-accounts)

## Response Messages

| Status | Description                        |
| ------ | ---------------------------------- |
| 200    | Successfully unlinked user account |
