```ruby
module Spree
  class ApiConfiguration < Preferences::Configuration
    # Make sure the api requires authentication by default to prevent unwanted access
    preference :requires_authentication, :boolean, :default => true
  end
end
```

Revert "Make sure that api requires authentication by default"
user
```ruby
module Spree
  class ApiConfiguration < Preferences::Configuration
    preference :requires_authentication, :boolean, :default => false
  end
end
```
assistant