JavaScript: Empty a bucket

Examples

Empty bucket

const { data, error } = await supabase
  .storage
  .emptyBucket('avatars')