Skip to main content
Privy enables app developers to unlink accounts from a user via their Privy DID and account information. This helps users who want to remove linked accounts by simply interacting with the Privy Dashboard or via an API call.
Embedded wallets and passkey accounts cannot be unlinked. If an account is the only one linked to a user, it cannot be unlinked either.

Unlinking Methods

Make a POST request to:
Replace <privy-app-id> with your Privy app ID and pass in the following parameters:

Supported Account Types

The following account types can be unlinked via the API:
  • email - Email accounts
  • phone - Phone number accounts
  • wallet - Externally connected wallets (Ethereum or Solana)
  • smart_wallet - Smart contract wallets
  • farcaster - Farcaster accounts
  • telegram - Telegram accounts
  • OAuth providers:
    • google_oauth
    • discord_oauth
    • twitter_oauth
    • github_oauth
    • linkedin_oauth
    • apple_oauth
    • spotify_oauth
    • instagram_oauth
    • tiktok_oauth
The API does not support unlinking passkey, custom_auth, or guest account types.

Example Requests

Response

If the unlinking is successful, the API will return a 200 status code.If there’s no account associated with the Privy DID that matches the type and handle, the API will return a 400 status code.