List my tenants
Returns the list of tenants the current user belongs to
Select tenant
Selects a tenant for the current user session
Get my IP
Returns the client's IP address as seen by the server
Get my profile
Returns the current user's profile
Upload profile picture
Uploads or replaces the current user's profile picture.
Delete profile picture
Removes the current user's profile picture
List my sign-ins
Returns the sign-in history for the current user
Change password
Changes the current user's password
Set up TOTP
Generates a new TOTP secret for the current user. Returns the secret, otpauth URI, and a QR code image for scanning with an authenticator app. The user must confirm setup by calling the confirm endpoint with a valid code.
Confirm TOTP setup
Validates a TOTP code against the stored secret and enables TOTP for the current user. Must be called after setup.
Disable TOTP
Disables TOTP for the current user after verifying their password. Cannot disable if TOTP is required by an administrator.
List permissions
Returns all available permissions in the system