Method: Morpheus::CloudsInterface#update_wiki
- Defined in:
- lib/morpheus/api/clouds_interface.rb
#update_wiki(id, payload) ⇒ Object
116 117 118 119 120 121 |
# File 'lib/morpheus/api/clouds_interface.rb', line 116 def update_wiki(id, payload) url = "#{@base_url}/api/zones/#{id}/wiki" headers = {authorization: "Bearer #{@access_token}", 'Content-Type' => 'application/json' } opts = {method: :put, url: url, headers: headers, payload: payload.to_json} execute(opts) end |