Reset VS XML Config

To reset XML configuration to default, use the following request:

DELETE /virtual_machines/:virtual_machine_id/xml_config.xml
DELETE /virtual_machines/:virtual_machine_id/xml_config.json 

XML Request Example

curl -i -X DELETE -u user:userpass --url http://onapp.test/virtual_machines/12/xml_config.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request Example

curl -i -X DELETE -u user:userpass --url http://onapp.test/virtual_machines/12/xml_config.json -H 'Accept: application/json' -H 'Content-type: application/json'