PUT /unmanageOffline
Use this method to configure settings for automatically unmanaging devices that are offline for specific amount of time.
Note
Automatic unmanagement of offline devices is supported for Flex System chassis, switches, Lenovo Flex System servers, Lenovo System x servers, ThinkAgile, and ThinkSystem servers.
Authentication
Authentication with username and password is required.
Request URL
PUT https://{management_server_IP}/unmanageOffline
Query parameters
None
Request body
Parameter | Required / Optional | Type | Description | ||
---|---|---|---|---|---|
offlinePeriod | Optional | Integer | Amount of time, in hours, that devices must be offline before they are automatically unmanaged This value can be from 1 – 24 hours. The default is 24 hours. | ||
unmanageOffline | Required | Boolean | Indicates whether Lenovo XClarity Administrator automatically unmanages devices that are offline for the a specific amount of time. This can be one of the following values.
|
The following example configure automatic unmanagement settings.
{
"offlinePeriod": 48,
"unmanageOffline": "true"
}
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. |
404 | Not found | A specified resource cannot be found. 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