User Management & Session Guide
User Management & Session Guide
User registration, login/logout session tokens, and user profile management.
The User Management API enables registering new users, managing user credentials, handling authentication sessions, and retrieving user profiles.
1. Creating Users
Single User Registration
Create a single user record via POST /user:
Batch User Import
Import an array or list of users in a single atomic request using POST /user/createWithList:
2. User Authentication & Sessions
User Login
Authenticate credentials and obtain an active session token:
The returned session token should be stored securely and passed in subsequent calls.
User Logout
Invalidate the active user session token:
3. User Profile Operations
Fetching User Details
Retrieve public user profile data by username:
Updating User Data
Modify account settings using PUT /user/{username}:
Deleting a User
Remove a user record permanently:
Deleting a user permanently clears their profile. Any open orders associated with the user account must be closed or transferred prior to deletion.