Documentation

← Back to site

Delete a timer

Last updated on April 27, 2015 10:10

This method will remove a timer object.

URL

/api/v1/timers/delete

Parameters

  • subdevice_id - the ID of the subdevice whose timers we should manage.
  • id - the ID of the timer to modify.

Response

The removed timer object will be returned, or an error if the timer cannot be found.

[
  {
    "subdevice_id": 69,
    "id": 1,
    "parent_id": null,
    "run_at": "2000-01-01T14:09:52.000Z",
    "last_run_at": "2015-04-24T13:13:24.000Z",
    "days_active": 1,
    "action": "set_target_temperature",
    "value": "20"
  }
]