How to update other user's email

I want to an admin user to be able to edit other's user email, but supabase client does not have a method for this or either blocks. Any suggestion on how to handle this scenario?
2 Replies
garyaustin
garyaustin4w ago
Provide more info on what you are trying to do. There is a service_role (serverside only) ability to update... https://supabase.com/docs/reference/javascript/auth-admin-updateuserbyid
JavaScript: Update a user | Supabase Docs
Supabase API reference for JavaScript: Update a user
No description
Danilo Santos
Danilo SantosOP3w ago
That's what I was looking for Thank you!!!

Did you find this page helpful?