auth
Set or change the app-lock PIN
Requires currentPin when a lock already exists. A wrong currentPin counts against the same attempt budget as the lock screen — otherwise an unlocked session could guess the PIN without limit and learn it for every future lock.
post/auth/app-lock
Request
- Base URLhttps://api.dre.app (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"pin": "1234",
"currentPin": "1234"
}Response
PIN set
Changes
No recorded changes to this operation across all 3 revisions of this API.