Overview
Removes a list of OAuth providers from the user.- This function removes OAuth providers (e.g., Google, Apple) from the user’s account.
- If a userId is provided, it removes the providers for that specific user; otherwise, it uses the current session’s userId.
- Automatically ensures an active session exists before making the request.
- Optionally allows stamping the request with a specific stamper (StamperType.Passkey, StamperType.ApiKey, or StamperType.Wallet).
- Returns an array of remaining provider IDs associated with the user after removal.
Package: core
Defined in: core.ts:3087
Parameters
Response
A successful response returns the following fields:A promise that resolves to an array of provider IDs that were removed.