Python: Create a user

Parameters

Examples

With custom user metadata

response = supabase.auth.admin.create_user(\{
  "email": "user@email.com",
  "password": "password",
  "user_metadata": \{ "name": "Yoda" \}
\})

Auto-confirm the user's email

response = supabase.auth.admin.create_user(\{
  "email": "user@email.com",
  "email_confirm": True
\})

Auto-confirm the user's phone number

response = supabase.auth.admin.create_user(\{
  "phone": "1234567890",
  "phone_confirm": True
\})