Alerts
ArchiveDeviceAlert (Deprecated)
Changed onDeprecated. Device alerts are being retired and this endpoint may be removed in a future release. For legacy alerts migration details, see Migrate nRF Cloud Alerts to Memfault Trace Events.
Archives an Alert. For more information, see our nRF Cloud documentation on device alerts.
patch/alerts/{id}/archive
Request
- Base URLhttps://api.nrfcloud.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Universally unique identifier
Example:bc631093-7f7c-4c1b-aa63-a68c759bcd5c
The unique identifier for the alert
Response
Ok
Example response
{
"id": "bc631093-7f7c-4c1b-aa63-a68c759bcd5c",
"deviceId": "nrf-1234567890123456789000",
"createdAt": "2020-06-25T21:05:12.830Z",
"receivedAt": "2020-06-25T21:05:12.830Z",
"statusChangedAt": "2020-06-25T21:05:12.830Z",
"statusChangedBy": "bc631093-7f7c-4c1b-aa63-a68c759bcd5c"
}Changes
- info
endpoint deprecated
- info