Method: Morpheus::CustomInstanceTypesInterface#destroy

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

#destroy(id) ⇒ Object



53
54
55
56
57
# File 'lib/morpheus/api/custom_instance_types_interface.rb', line 53

def destroy(id)
  url = "#{@base_url}/api/custom-instance-types/#{id}"
  headers = { :params => {}, :authorization => "Bearer #{@access_token}", 'Content-Type' => 'application/json' }
  execute(method: :delete, url: url, headers: headers)
end