Delete Compute Resource

To delete a compute resource, use the following request:

DELETE /settings/hypervisors/:id.xml
DELETE /settings/hypervisors/:id.json

XML Request Example

curl -i -X DELETE http://onapp.test/settings/hypervisors/14.xml -u account_email:API_key -H 'Accept: application/xml' -H 'Content-type: application/xml' 

JSON Request Example

curl -i -X DELETE http://onapp.test/settings/hypervisors/14.json -u account_email:API_key -H 'Accept: application/json' -H 'Content-type: application/json'

Returns HTTP 204 response on successful deletion, or HTTP 404 when a compute resource with the ID specified is not found, or the URL requested is incorrect.