mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03:00
Merge pull request #14971 from supabase/J0/exporting-users
docs: add section on exporting users
This commit is contained in:
2 files changed
+11
No files matched your search
@@ -44,6 +44,17 @@ You cannot delete a user if they are the owner of any objects in Supabase Storag
|
||||
You will encounter an error when you try to delete an Auth user that owns any Storage objects. If this happens, try deleting all the objects for that user, or reassign ownership to another user.
|
||||
</Admonition>
|
||||
|
||||
## Exporting Users
|
||||
|
||||
As Supabase is built on top of PostgreSQL, you can query the `auth.users` and `auth.identities` table via the `SQL Editor` tab to extract all users:
|
||||
```sql
|
||||
select * from auth.users;
|
||||
```
|
||||
|
||||
You can also opt to export the results via CSV through the dashboard if you wish:
|
||||

|
||||
|
||||
|
||||
## Public access
|
||||
|
||||
Since Row Level Security is enabled, this table is accessible via the API but no data will be returned unless we set up some Policies.
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 77 KiB |
Reference in new issue
Block a user