Authentication

POST /api/v1/auth/login

Log in using your username and password.
Returns an authentication token.

POST /api/v1/auth/logout

Log out of the current device/session.

POST /api/v1/auth/logout-all

Log out of all devices and active sessions.