Method: Morpheus::LibraryInstanceTypesInterface#destroy
- Defined in:
- lib/morpheus/api/library_instance_types_interface.rb
#destroy(id, payload = {}) ⇒ Object
45 46 47 48 49 50 |
# File 'lib/morpheus/api/library_instance_types_interface.rb', line 45 def destroy(id, payload={}) url = "#{@base_url}/api/library/#{id}" headers = { :authorization => "Bearer #{@access_token}", 'Content-Type' => 'application/json' } opts = {method: :delete, url: url, headers: headers, payload: payload.to_json} execute(opts) end |