JavaScript: Delete a user

Delete a user. Requires a service_role key.

Parameters

Examples

Removes a user

const \{ data, error \} = await supabase.auth.admin.deleteUser(
  '715ed5db-f090-4b8c-a067-640ecee36aa0'
)