appliance shutdown: reboot
Reboot the appliance. This operation was added in vSphere API 6.7.
Request:
HTTP request
POST https://{server}/rest/appliance/shutdown/reboot
Request Body Structure:
{
"reason" : "string",
"delay" : 1
}
"reason" : "string",
"delay" : 1
}
Request Body Parameters:
| Name | Type | Description |
|---|---|---|
| bold = required | ||
| delay | long | Minutes after which reboot should start. If 0 is specified, reboot will start immediately. |
| reason | string | Reason for peforming reboot. |
Response:
HTTP Status Code: 200
NoneErrors:
| HTTP Status Code | Type | Description |
|---|---|---|
| 500 | error | Generic error |