Method: Morpheus::LibraryContainerTypesInterface#destroy
- Defined in:
- lib/morpheus/api/library_container_types_interface.rb
#destroy(layout_id, id, payload = {}) ⇒ Object
42 43 44 45 46 47 |
# File 'lib/morpheus/api/library_container_types_interface.rb', line 42 def destroy(layout_id, id, payload={}) url = build_url(layout_id, id) headers = { :authorization => "Bearer #{@access_token}", 'Content-Type' => 'application/json' } opts = {method: :delete, url: url, headers: headers, payload: payload.to_json} execute(opts) end |