Delete Compute Zone
To delete a compute zone, use the following request:
DELETE /settings/hypervisor_zones/:id.xml
DELETE /settings/hypervisor_zones/:id.json
XML Request Example
curl -X DELETE http://onapp.test/settings/hypervisor_zones/13.xml -u account_email:API_key -H 'Accept: application/xml' -H 'Content-type: application/xml'
JSON Request Example
curl -X DELETE http://onapp.test/settings/hypervisor_zones/13.json -u account_email:API_key -H 'Accept: application/json' -H 'Content-type: application/json'
You will get a 204 status response on success, and 404 if there is no such compute zone with a requested ID or you entered an incorrect URL.