appliance shutdown: poweroff

Power off the appliance. This operation was added in vSphere API 6.7

Request:

HTTP request

POST https://{server}/rest/appliance/shutdown/poweroff

Request Body Structure:

{
    "delay"1,
    "reason""string"
}

Request Body Parameters:

Name Type Description
bold = required
delay long Minutes after which poweroff should start. If 0 is specified, poweroff will start immediately.
reason string Reason for peforming poweroff.

Response:

HTTP Status Code: 200

None

Errors:

HTTP Status Code Type Description
500 error Generic error