Method: Morpheus::MonitoringAppsInterface#mute_all

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

#mute_all(payload = {}) ⇒ Object



48
49
50
51
52
53
# File 'lib/morpheus/api/monitoring_apps_interface.rb', line 48

def mute_all(payload={})
  url = "#{@base_url}/api/monitoring/apps/mute-all"
  headers = { :authorization => "Bearer #{@access_token}", 'Content-Type' => 'application/json' }
  opts = {method: :put, url: url, headers: headers, payload: payload.to_json}
  execute(opts)
end