PATCH – Update timeout property
Use the PATCH method to update timeout property in SessionService resource for Redfish service
Request URL
PATCH https://<BMC_IPADDR>/redfish/v1/SessionService
Request body
Properties to be updated are shown as bellow
Field | Type | Description | |||
---|---|---|---|---|---|
SessionTimeout | Number | The value should be between 30 and 86400. |
Response body
The response returns same content as GET operation with updated properties.
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example is PATCH body.
{
"SessionTimeout": 500
}
The following example JSON response is returned:
{
"@odata.id": "/redfish/v1/SessionService",
"Name": "SessionService",
"ServiceEnabled": true,
"@odata.type": "#SessionService.v1_1_6.SessionService",
"SessionTimeout": 500,
"Id": "SessionService",
"Sessions": {
"@odata.id": "/redfish/v1/SessionService/Sessions"
},
"@odata.etag": "\"2e82e923b1582967372\"",
"Description": "This resource is used to represent a session service for a Redfish implementation."
}
Give documentation feedback