Logo
Program smart lights API Documentation

Quickstart: update on/off

PUT http://{{ipAddress}}/api/v1/:auth_token/state

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status





Curl
curl -X PUT 'http://ipAddress/api/v1/:auth_token/state' -H 'Content-Type: application/json' -d '{"on":{"value":true}}'

ENDPOINTS