Skip to main content
Version: Next

toggleDevice

POST 

/devices/:id

Physically toggles the device in the path either on or off depending on its current state. If the device is on, it is switched off and vice versa. To toggle a device it could be necessary to call an external API. This is controlled by configuration parameters.

Request

Responses