Change the caller's email to this Apple/Google account. The app first attaches the login with Supabase's linkIdentity; this then makes it the account's only login and its email the main one, in one transaction.

Safe to call again: if an earlier call failed, the login is still attached and this finishes the change.

post/api/auth/change-email

Request

Headers

x-user-idstring nullable

Request body

identityTokenstring required
providerstring required

Response

Successful Response

unknown required

Changes