v1

latestOpenAPI 3.0.32026-07-24214879985.1 KB
Actions

Update single alert action. This is a partial update operation - all fields in the request body are optional, allowing you to update only the specific fields you want to change. Fields marked as required in the schema apply only to POST (create) operations.

patch/alertActions/{actionId}

Request body

enabledboolean

Denotes if the alert rule action is enabled or not being applied.

namestring
notesstring

Example request

{
  "enabled": true,
  "name": "Notify all technical support staff.",
  "notes": "Notify everyone with the technical support role. Useful in cases where a device goes offline.",
  "settings": {
    "users": [
      {
        "id": "ca0de584",
        "push": true,
        "email": true
      }
    ],
    "rearmSeconds": 900,
    "maxPerHour": 10
  }
}

Response

Alert Action Updated