Unassign Service Add-on from VS

To unassign service add-on from the VS, use the following request:

DELETE /virtual_machines/:virtual_machine_id/service_addons/:id.xml
DELETE /virtual_machines/:virtual_machine_id/service_addons/:id.json

XML Request Example

curl "http://onapp.test/virtual_machines/12/service_addons/2.xml" -d '' -X DELETE \ -u user:userpass \ -H "Accept: application/xml" \ -H "Content-Type: application/xml"

JSON Request Example

curl "http://onapp.test/virtual_machines/12/service_addons/2.json" -d '' -X DELETE \ -u user:userpass \ -H "Accept: application/json" \ -H "Content-Type: application/json"

Where:

id - ID of the service add-on, which you want to unassign from the VS