Set or change the screen-lock PIN
POST/api/security/lock-pin
PASSWORD-CONFIRMED, every time. Without it, somebody at an unlocked machine could set a PIN they know and lock the owner out of their own screen — the password is the one thing the person at the keyboard is not assumed to have. Stored hashed, like a password, and never returned.
Request
Responses
- 200
- 403
- 422
The PIN was stored.
The workspace does not allow the screen lock (lock_pin_disabled).
The password was wrong (password_incorrect), or the PIN failed validation.