Add action

Add an action to an alarm. Actions include: "read", "close", "open".

Request
Security:
path Parameters
alarmId
required
string^[1-9]\d*$

The ID of the alarm. Obtain this from GET /alarms.

Example: 62
Request Body schema: application/json
type
required
string (Alarm action type)
Enum: "open" "close" "read" "unread"
Responses
200

Successful operation

400

Bad request error

401

Unauthorized error

403

Forbidden error

404

Not found error

500

Internal server error

post/alarms/{alarmId}/actions
Request samples
application/json
{
  • "type": "open"
}
Response samples
application/json
{
  • "data": {
    }
}