unlink_identity().undefined
# retrieve all identities linked to a user
response = supabase.auth.get_user_identities()
# find the google identity
google_identity = list(
filter(lambda identity: identity.provider == "google", response.identities)
).pop()
# unlink the google identity
response = supabase.auth.unlink_identity(google_identity)