PUT /nodes/{uuid}/ssdWearThreshold
Use this method to modify the SSD remaining-life alert threshold for ThinkSystem and ThinkAgile servers.
Note
This REST API requires Lenovo XClarity Administrator v3.6.0 or later.
Authentication
Authentication with username and password is required.
Request URL
PUT https://{management_server_IP}/nodes/{uuid}/ssdWearThreshold
where {uuid} is the UUID of the ThinkSystem or ThinkAgile server. To obtain the server UUIDs, use GET /nodes.
Query parameters
None
Request body
Parameter | Required / Optional | Type | Description | ||
---|---|---|---|---|---|
ssdWearThreshold | Required | Integer | SSD remaining-life alert threshold, as a percentage of remaining life. This can be a value from 0 – 100. The default is 8. When this threshold is exceeded, an alert is generated. |
The following example sets the SSD remaining-life alert threshold to 50%.
{
"ssdWearThreshold": 50
}
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
400 | Bad Request | A query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body. |
401 | Unauthorized | The user cannot be authenticated. Authentication has not been provided or has failed. A descriptive error message is returned in the response body. |
404 | Not found | A specified resource cannot be found. A descriptive error message is returned in the response body. |
409 | Conflict | There is a conflict with the current state of the resource. A descriptive error message is returned in the response body. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
None
Give documentation feedback