Skip to main content
The account endpoints allow users to manage their profile information, update credentials, and configure security settings.

Get Account Details

Retrieve information about the currently authenticated user.

Response

integer
Unique user identifier
boolean
Whether the user has administrator privileges
string
The user’s username
string
The user’s email address
string
User’s first name
string
User’s last name
string
Preferred language code (e.g., “en”, “de”, “fr”)

Update Email Address

Update the authenticated user’s email address.
string
required
The new email address
string
required
Current account password for verification

Response

Returns 204 No Content on success.

Update Password

Update the authenticated user’s password. This will log out all other sessions.
string
required
The current account password
string
required
The new password (minimum 8 characters)
string
required
Must match the new password

Response

Returns 204 No Content on success. All other sessions will be terminated.

Two-Factor Authentication

Get 2FA Setup Details

Get the QR code and secret for setting up two-factor authentication.

Response

string
Base64-encoded QR code image for authenticator apps
string
The TOTP secret key for manual entry

Enable Two-Factor Authentication

Enable 2FA by providing a valid TOTP code and password.
string
required
6-digit TOTP code from authenticator app
string
required
Current account password

Response

array
Recovery codes for account access if 2FA device is lost. Store these securely.

Disable Two-Factor Authentication

Disable 2FA on the account.
string
required
Current account password

Response

Returns 204 No Content on success.

API Keys

List API Keys

Get all API keys for the authenticated user.

Create API Key

Create a new API key.
string
required
Description for the API key
array
Optional array of allowed IP addresses or CIDR ranges

Delete API Key

Delete an API key by its identifier.

SSH Keys

List SSH Keys

Get all SSH public keys associated with the account.

Add SSH Key

Add a new SSH public key to the account.
string
required
Descriptive name for the SSH key
string
required
The SSH public key (ssh-rsa, ssh-ed25519, etc.)

Remove SSH Key

Remove an SSH key from the account.
string
required
The SSH key fingerprint to remove