API reference

Users

All accounts are admins. Managing them requires an admin session 👤 (API tokens have no access).

{ "id": 2, "username": "kollegin", "created_at": 1791203308, "last_login_at": 1791203900 }
Endpoint Description
GET /users 👤 All accounts
POST /users 👤 { "username": "…", "password": "…" } (password min. 8 characters) → 201; 409 if the name is taken
PUT /users/{id}/password 👤 { "password": "…" } → 204. Another account is logged out everywhere in the process
DELETE /users/{id} 👤 → 204, sessions end immediately. Your own account and the last account: 400