Child pages
  • Detach Compute Zone from Location Group
Skip to end of metadata
Go to start of metadata
POST /settings/location_groups/:location_group_id/hypervisor_groups/:hypervisor_group_id/detach_resource.xml
POST /settings/location_groups/:location_group_id/hypervisor_groups/:hypervisor_group_id/detach_resource.json

XML Request example

curl -i -X POST -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass -d '' --url http://onapp.test/settings/location_groups/1/hypervisor_groups/4/detach_resource.xml

JSON Request example

curl -i -X POST -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass -d '' --url http://onapp.test/settings/location_groups/1/hypervisor_groups/4/detach_resource.json

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

  • No labels