Method: Morpheus::CloudsInterface#destroy
- Defined in:
- lib/morpheus/api/clouds_interface.rb
#destroy(id, params = {}) ⇒ Object
60 61 62 63 64 65 |
# File 'lib/morpheus/api/clouds_interface.rb', line 60 def destroy(id, params={}) url = "#{@base_url}/api/zones/#{id}" headers = { :params => params, :authorization => "Bearer #{@access_token}", 'Content-Type' => 'application/json' } opts = {method: :delete, url: url, headers: headers} execute(opts) end |