How can I update another user's email in Supabase while requiring email confirmation?

I'm building an admin dashboard where admins can update employee email addresses. I've run into an issue with the available Supabase methods:

supabase.auth.updateUser() only updates the currently authenticated user's data, not other users
supabase.auth.admin.updateUserById() can update any user's email, but it bypasses the email confirmation step

Is there a way to update another user's email address while still requiring them to confirm the change?
Was this page helpful?