How to delete users? #250
-
hey guys, how can i delete users from authentication tab in supabase? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 20 replies
-
Hey @antriksh123 - we will add a button for this soon, but at the moment you can run this query: delete from auth.users
where id = THE_USERS_UID |
Beta Was this translation helpful? Give feedback.
-
@oskarrough Sorry for the delay; well I'm not sure what to try, thats part of the problem, I just don't understand enough of how these pieces fit together. Is there like a Postgres for beginners course or something really basic that Supabase can provide to front end or mobile devs like myself? What I think you're saying is, I can write that Postgres query on my Supabase admin panel and then call it from my Swift client to trigger it which will delete the account based on matching the user id from the swift client to whats found on Supabase? So then I just write that as a Postgres query, no edge function needed? |
Beta Was this translation helpful? Give feedback.
-
just fyi to anyone stumbling upon this while working with the API: |
Beta Was this translation helpful? Give feedback.
Hey @antriksh123 - we will add a button for this soon, but at the moment you can run this query: