POST – Chassis Control
Request
POST https://{{ip}}/redfish/v1/ Chassis/Self/Actions/Chassis.Reset
Content-Type: application/json
Request body
The ResetType can be one of the following values: "On", "ForceOff", "GracefulShutdown", "ForceRestart".
Request example
{
"ResetType": "On"
}
Response
The response status is 202 with the below body. For Error Responses, please refer to Error Response.
Using TaskID check the TaskStatus.
Using MaintenanceWindowStartTime if Task is Cancelled due to invalid state Action then showing error message in Corresponding Tasks Using TaskID check the TaskStatus.
Response example
When the request is successful, a message body similar to the following is returned:
{
"@odata.context": "/redfish/v1/$metadata#Task.Task(TaskState,Description,Name,Id)",
"@odata.id": "/redfish/v1/TaskService/Tasks/1",
"@odata.type": "#Task.v1_2_0.Task",
"Description": "Task for Chassis Reset",
"Id": "1",
"Name": "Chassis Reset",
"TaskState": "New"
}
Give documentation feedback