Update the settings of the alarms report email recipient.
Note: PATCH calls update data partially. Any data not mentioned in the call, will be kept as is. However, in this call, if only reportIntervalSeconds is provided in the request body, it returns a 400 Bad Request error. Other combinations of parameters in the request body function as expected.
Successful operation
Bad request error
Unauthorized error
Forbidden error
Internal server error
{- "reportIntervalSeconds": 3600,
- "alarmDefinitions": [
- {
- "id": 625
}
]
}
{- "data": {
- "email": "email@email.com",
- "reportIntervalSeconds": 3600,
- "alarmDefinitions": [
- {
- "id": 625,
- "name": "Hardware failure: Unable to start camera sensor and record video"
}
], - "id": 23,
- "createdByAudienceName": "surfsight",
- "createdById": 23,
- "targetEntity": "organization",
- "targetId": 27,
- "lastReportAt": "2019-08-24T14:15:22Z"
}
}