HP OneView REST API Reference

appliance/shutdown
appliance-shutdown.html[10/17/2013 10:35:51 AM]
Updated: October 16, 2013 4:05
MDT
API Specifications Create Read Update Delete
/rest/appliance/shutdown POST
HP OneView REST API Reference
appliance/shutdown
The shutdown resource provides the API to shutdown or reboot an appliance.
URI: /rest/appliance/shutdown
Method API
POST Shuts down or reboots the appliance.
Parameter Attributes Description
type Required Type of shutdown to perform
context Optional context for the shutdown
Request
Header
Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the
current release, this must be set to "X-API-Version:3"
Response Description
void
Response Codes
REST API Response Codes
Examples
Initiates a halt or reboot of the appliance.
POST https://{appl}/rest/appliance/shutdown?type=REBOOT
POST https://{appl}/rest/appliance/shutdown?type=HALT