Edit vApp

To edit a vApp, use the following request:

1
2
PUT /vapps/:id/edit.xml
PUT /vapps/:id/edit.json

XML Request Example

1
curl -i -X PUT -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass -d '<vapp><name>test.vapp</name><description>This is a description of the vApp</description></vapp>' --url http://onapp.test/vapps/5.xml

JSON Request Example

1
curl -i -X PUT -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass -d '{"vapp":{"name":"test.vapp","description":"This is a description of the vApp"}}' --url http://onapp.test/vapps/5.json

Where:

name - the name of the vApp

image description - the description of the vApp

Page History

v. 6.0

  • Added the description parameter