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 user:userpass -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request Example

curl -X DELETE http://onapp.test/settings/hypervisor_zones/13.json -u user:userpass -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 a compute zone with a requested ID or you entered incorrect URL.