User endpoints cover everything from initial account registration through ongoing session management and credential storage. TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/thenoname-gurl/EcliPanel/llms.txt
Use this file to discover all available pages before exploring further.
/api/users/me alias always resolves to the currently authenticated user, making it the recommended starting point for client-side profile fetches.
Profile
Get current user
GET /api/users/me
Returns the full profile of the authenticated user. Sensitive fields (passwordHash, active sessions) are stripped from the response. The age and isChildAccount fields are computed server-side from dateOfBirth and the user’s billing country.
User ID.
Email address.
First name.
Last name.
Optional display name overriding first/last.
System role:
user, staff, admin, or rootAdmin.Portal tier:
free, paid, educational, or enterprise.Whether the email address has been confirmed.
Whether TOTP two-factor authentication is active.
Whether the account is currently suspended.
Resource limits assigned by the active plan.
User-configurable panel settings (theme, locale, etc.).
Get user by ID
GET /api/users/:id
User ID. Use
me as an alias for the authenticated user.Non-admin users can only fetch their own profile. Staff and admin roles can fetch any user.
Update user
PUT /api/users/:id
User ID.
Updated first name.
Updated last name.
Display name override.
Billing address line 1.
Billing city.
Billing state or region.
Postal/ZIP code.
ISO 3166-1 alpha-2 country code.
Date of birth in
YYYY-MM-DD format. Used for age verification.Partial settings object to merge with existing settings.
Registration
Register a new account
POST /api/users/register
Registration may be gated by geo-block rules and feature flags. A
403 response means registration is disabled for the requester’s country or region.Email address. Must be unique.
Password. Must meet complexity requirements enforced server-side.
First name.
Last name.
Date of birth (
YYYY-MM-DD). Required in age-restricted regions.Whether the account was created.
Newly created user ID.
Sessions
List active sessions
GET /api/sessions/:userId
Returns all active browser sessions for a user.
User ID. Must match the authenticated user unless the caller has admin privileges.
Session token identifier.
ISO 8601 creation timestamp.
IP address the session was created from.
Browser user agent string.
Log out current session
POST /api/sessions/logout
Invalidates the caller’s current session cookie.
Log out all sessions
POST /api/sessions/logout-all
Invalidates every active session for the authenticated user. Use this after a suspected account compromise.
API keys
List your API keys
GET /api/apikeys/my
Returns all API keys belonging to the authenticated user.
Key ID.
Key label.
First few characters of the key for identification.
ISO 8601 creation timestamp.
ISO 8601 last-use timestamp, or
null if unused.Create API key
POST /api/apikeys
Human-readable label for the key.
The full API key value. This is only returned once—store it immediately.
Key ID for future management.
Delete API key
DELETE /api/apikeys/:id
API key ID.
SSH keys
List SSH keys
GET /api/ssh-keys
Returns all SSH public keys stored for the authenticated user.
Key ID.
Key label.
SHA-256 fingerprint of the public key.
ISO 8601 creation timestamp.
Add SSH key
POST /api/ssh-keys
Label for this key.
OpenSSH-format public key string.
Delete SSH key
DELETE /api/ssh-keys/:id
SSH key ID.