Update Profile
Accounts
Update Profile
Manage the signed-in user’s account settings
PATCH
Update Profile
CLI:
Overview
Updates account-level settings for the current user. The request can change profile name fields (firstName, lastName) and, when the caller is the signed-in user acting as themselves, auth fields (email, password).
Email changes send a verification email and do not take effect until the user confirms the link. Password changes complete immediately when Supabase accepts the new password.
AI agent notes
Send at least one field. Updateemail and password in separate requests; the route rejects a body that tries to change both at once.
Only perform auth changes when the user explicitly asks for them and Get Profile returns canManageAuth: true. If the response includes pendingEmail or emailChangeSent, tell the user to confirm the verification email before assuming the login email changed.