Delete an alert trigger
Last updated on June 15, 2016 10:29
This method will remove an alert trigger object
URL
/api/v1/triggers/delete
Parameters
id- The ID of the trigger we want to delete.subdevice_id- The ID of the subdevice whose trigger we want to delete.
Response
The removed alert trigger will be returned, or a validation error if the trigger can't be found
[
  {
    "subdevice_id": 1,
    "id": 33,
    "trigger_type": "opened",
    "days_active": 8,
    "all_day": false,
    "start_time": "2000-01-01T01:10:00.000Z",
    "end_time": "2000-01-01T05:20:00.000Z"
  }
]