Method: Morpheus::UserSourcesInterface#destroy

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

#destroy(account_id, id) ⇒ Object



37
38
39
40
41
42
# File 'lib/morpheus/api/user_sources_interface.rb', line 37

def destroy(, id)
  url = build_url(, id)
  headers = { :authorization => "Bearer #{@access_token}", 'Content-Type' => 'application/json' }
  opts = {method: :delete, url: url, timeout: 10, headers: headers}
  execute(opts)
end