Skip to main content

PUT /nodes/linkStatusPreference

Use this method to modify the link-status preference.

Authentication

Authentication with username and password is required.

Request URL

PUT https://{management_server_IP}/nodes/linkStatusPreference

Query parameters

None

Request body

ParameterRequired / OptionalTypeDescription
linkStatusRequiredBooleanIndicates 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.
The following example enables raising alerts when a link-status changes.
{
"linkStatus": true
}

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.
500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

None