Poweroff Shutdown
Released in v6.7Power off the appliance.
Request
URLURL
https://{api_host}/rest/appliance/shutdown/poweroff
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id Example
b00db39f948d13ea1e59b4d6fce56389
Request Body
Request Body
ShutdownPoweroffRequestBody of type application/json (required){
"delay": 0,
"reason": "string"
}
integer
delay
Required
Minutes after which poweroff should start. If 0 is specified, poweroff will start immediately.
string
reason
Required
Reason for peforming poweroff.
cURL Command
curl -X POST -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" -H "Content-Type: application/json" -d '{"delay":0,"reason":"string"}' https://{api_host}/rest/appliance/shutdown/poweroff
Errors
default
'Default' means this response is used for all HTTP codes that are not covered individually for this operation.