You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: config_api.rb
    path of file: ./repos/kontena/server/app/routes/v1
    
    the code of the file until where you have to start completion: require_relative '../../mutations/audit_logs/create'

module V1
  class ConfigApi < Roda
    include RequestHelpers
    include TokenAuthenticationHe
    
    def destroy_all_and_audit(user, request)
      if audit_clear(user, request)
        Configuration.where(not: { key: 'server.salt'}).destroy_all
        true
      else
        false
      end