v1

latestOpenAPI 3.1.02026-08-06330343826.1 KB
Site

Site Syslog Alert

Updates the specified Syslog alert.

put/api/3/sites/{id}/alerts/syslog/{alertId}

Path parameters

alertIdinteger required

The identifier of the alert.

Example:5

The identifier of the alert.

idinteger required

The identifier of the site.

The identifier of the site.

Request body

enabledboolean required

Flag indicating the alert is enabled.

idinteger

The identifier of the alert.

maximumAlertsinteger

The maximum number of alerts that will be issued. To disable maximum alerts, omit the property in the request or specify the property with a value of null.

namestring required

The name of the alert.

notification'SMTP' | 'SNMP' | 'Syslog' required

The type of alert.

serverstring required

The Syslog server to send messages to.

Example request

{
  "links": [
    {
      "href": "https://hostname:3780/api/3/...",
      "rel": "self"
    }
  ]
}

Response

OK