Method: Morpheus::LogSettingsInterface#destroy_integration

Defined in:
lib/morpheus/api/log_settings_interface.rb

#destroy_integration(name, params = {}) ⇒ Object



27
28
29
30
31
# File 'lib/morpheus/api/log_settings_interface.rb', line 27

def destroy_integration(name, params={})
  url = "#{base_path}/integrations/#{name}"
  headers = { params: params, :authorization => "Bearer #{@access_token}", 'Content-Type' => 'application/json' }
  execute(method: :delete, url: url, headers: headers)
end