PUT /nodes/linkStatusPreference

Use this GET method to modify the link-status preference.

Note: This API requires Lenovo XClarity Administrator v2.8.0 or later.

Authentication

Authentication with user name and password is required.

Request URL

PUT https://<management_server_IP>/nodes/linkStatusPreference

Query parameters

None

Request body

Parameter Required / Optional Type Description
linkStatus Required Boolean Indicates whether an alert is raised when the link status of a port changes. This can be one of the following values.
  • true. Alerts are raised for link-status changes.
  • false. (default) Alerts are not raised for link-status changes.

Request example

{
   "linkStatus": true
}

Response codes

Code Description
200 OK
400 Bad request

Response body

None