Backup & updates

Reset to defaults

POST/api/reset
Admin. Needs an unlock token (x-tempolight-token) while a PIN lock is set; without a lock, anyone can call it.

Back to the defaults: devices, room, scenes, schedules and settings.

Responses

200OKapplication/json
oktruerequired
403Locked, or not allowed.application/json
errorstringrequired

What went wrong, in a sentence for people.

Request
curl -X POST 'http://localhost:8080/api/reset'
Response
{
  "ok": true
}
Edit on GitHub