Current User
GET /api/v1/me
Returns current user info and balance.
Update Profile
POST /api/v1/me/profile
Body: {"nickname": "new nickname"}
Change Password
POST /api/v1/me/password
Body:
{
"old_password": "old password",
"new_password": "new password"
}
If email verification is enabled, a confirmation email is sent first.
Sessions
GET /api/v1/me/sessions: list active sessions.POST /api/v1/me/sessions/{session_id}/revoke: revoke one session.POST /api/v1/me/logout-all: sign out all devices.
TOTP
POST /api/v1/me/totp/setup: get setup info.POST /api/v1/me/totp/confirm: confirm setup.POST /api/v1/me/totp/disable: disable TOTP.