POST – Server reset operations
Use the POST method for server reset operations.
Request URL
POST https://<BMC_IPADDR>/redfish/v1/Systems/1/Actions/ComputerSystem.Reset
Request body
Field | Error Message ID |
---|---|
ResetType | System reset type, possible values: On/ForceOff/GracefulShutdown/GracefulRestart/ForceRestart/Nmi/ForceOn |
Note
The GracefulRestart and GracefulShutdown actions will trigger the Power Button action within the target operating system. If the server executes a different action or takes no action when using these commands, check the Power Button configuration within the operating system or contact the OS vendor for assistance.
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Response example
The following example is POST body.
{
"ResetType" : "On"
}"
The following example JSON response is returned:
None
Give documentation feedback