Lock

Remove the PIN

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

Removes the PIN lock.

Responses

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

What went wrong, in a sentence for people.

Request
curl -X DELETE 'http://localhost:8080/api/lock'
Response
{
  "locked": false
}
Edit on GitHub