Skip to main content

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

ParameterRequired / OptionalTypeDescription
ssdWearThresholdRequiredIntegerSSD remaining-life alert threshold, as a percentage of remaining life.

This can be a value from 0100. 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

CodeDescriptionComments
200OKThe request completed successfully.
400Bad RequestA 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.
401UnauthorizedThe user cannot be authenticated. Authentication has not been provided or has failed. A descriptive error message is returned in the response body.
404Not foundA specified resource cannot be found. A descriptive error message is returned in the response body.
409ConflictThere is a conflict with the current state of the resource. A descriptive error message is returned in the response body.
500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

None