Child pages
  • Delete Network Interface
Skip to end of metadata
Go to start of metadata

To delete a network interface from a virtual server:

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

XML Request example

curl -i -X DELETE -u user:userpass --url http://onapp.test/virtual_machines/:virtual_machine_id/network_interfaces/:id.xml

JSON Request example

curl -i -X DELETE -u user:userpass --url http://onapp.test/virtual_machines/:virtual_machine_id/network_interfaces/:id.json

This returns an HTTP 204 response if the network interface is deleted, or HTTP 404 if the network interface with the specified ID isn't found or the requested URL is incorrect.

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels