ReferenceAuth
/api/v1/auth/accounts
Public; reads the device's accounts cookie. Every account except the active session's, in the order they were last active here. Expiry is read without renewing a session. An account that no longer exists, or an entry this server did not sign, is dropped and the cookie rewritten.
curl -X GET "https://example.com/api/v1/auth/accounts"[ { "avatarId": "string", "color": "amber", "displayName": "string", "expired": true, "id": "string", "lastSeenAt": "2019-08-24T14:15:22Z", "username": "string" }]Auth
Signing in, signing out and reading the current session.
/api/v1/auth/accounts/{userId} DELETE
Public; reads the device's accounts cookie. Ends that account's session on this device and drops it from the cookie; the account itself stays. 404 when it is not on this device, 409 for the active account, which signs out instead.