Skip to main content

Lock the panel (screen lock)

POST 

/api/session/lock

Marks the CURRENT session locked. From that point the API answers 423 to everything except /api/me, /api/session/unlock, /api/session/lock and /api/logout — so the lock is the server's, not a screen the browser could dismiss.

Called by the panel's idle timer or by the user asking for it. The timer may only ever lock EARLY: a tab whose timer never fired still meets the lock the moment it speaks to the server.

Responses​

The panel is locked.