Update an alert/notification trigger by id {fk} for device
PUT
/devices/{id}/notificationTriggers/{fk}
Authorizations
ApiKeyAuth
API Key for authentication. Retrieval from either API version login routes, or other authentication token type. See Authentication for more details.
TypeAPI Key (header: Authorization)
Example
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
Parameters
Path Parameters
id*
device id
Typenumber
Requiredformat
integer
fk*
Foreign key for notificationTriggers
Typenumber
Requiredformat
integer
Request Body
JSON
{
"name": "string",
"type": "string",
"parameters": {
},
"muteFor": 0,
"lastTriggered": "string",
"delivery": {
},
"id": 0,
"deviceId": 0,
"userId": 0
}
Responses
Body (JSON)
application/json
JSON
{
"name": "string",
"type": "string",
"parameters": {
},
"muteFor": 0,
"lastTriggered": "string",
"delivery": {
},
"id": 0,
"deviceId": 0,
"userId": 0
}