supertokens-node
    Preparing search index...

    Variable unlinkAccountConst

    unlinkAccount: (
        recipeUserId: RecipeUserId,
        userContext?: Record<string, any>,
    ) => Promise<
        { status: "OK"; wasLinked: boolean; wasRecipeUserDeleted: boolean },
    > = Wrapper.unlinkAccount

    Type declaration

      • (
            recipeUserId: RecipeUserId,
            userContext?: Record<string, any>,
        ): Promise<
            { status: "OK"; wasLinked: boolean; wasRecipeUserDeleted: boolean },
        >
      • Parameters

        • recipeUserId: RecipeUserId
        • OptionaluserContext: Record<string, any>

        Returns Promise<{ status: "OK"; wasLinked: boolean; wasRecipeUserDeleted: boolean }>