Power Cycle CloudBoot Compute Resource

To power cycle a CloudBoot compute resource, use the following request:

POST /settings/hypervisors/:id/power_cycle.xml
POST /settings/hypervisors/:id/power_cycle.json

XML Request Example

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

JSON Request Example

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