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(account_id, id) url = build_url(account_id, id) headers = { :authorization => "Bearer #{@access_token}", 'Content-Type' => 'application/json' } opts = {method: :delete, url: url, timeout: 10, headers: headers} execute(opts) end |