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
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.
|
The following example enables raising alerts when a link-status changes.
{
"linkStatus": 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. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
None
Give documentation feedback