Internal user object with comprehensive administrative and system details
Unique identifier for the user (MongoDB ObjectId)
"65c1f68ea735b522d370ea23"
Organization identifier that owns this user
"65c1f4eeca7c4816d94587b2"
Full name of the user
"John Doe"
User's email address (unique within organization)
"john.doe@mile.app"
User account status
active, inactive, pending, suspended "active"
User's phone number
"+62812345678"
ID of assigned role
"65c1f68ea735b522d370ea24"
User role information
List of hub IDs user has access to
[
"65c1f68ea735b522d370ea25",
"65c1f68ea735b522d370ea26"
]Detailed hub access information
Last successful login timestamp
"2024-02-06T09:30:00.000000Z"
URL to user's profile picture
"https://storage.mile.app/profiles/user123.jpg"
User's preferred language
en, id, ms "en"
User's timezone preference
"Asia/Jakarta"
Whether user's email is verified
true
Whether user's phone is verified
false
Whether 2FA is enabled for this user
false
Push notification device tokens
User application settings
Email of admin who created this user account
"admin@mile.app"
Email of admin who last updated this user
"admin@mile.app"
ISO 8601 timestamp when user was created
"2024-01-15T10:00:00.000000Z"
ISO 8601 timestamp when user was last updated
"2024-02-06T14:20:15.000000Z"
When user invitation was sent
"2024-01-15T10:00:00.000000Z"
When user account was activated
"2024-01-15T14:30:00.000000Z"
Internal administrative notes (not visible to public API)
"User requires additional training on new features"
Internal security event log
Internal system metadata
User Module business failedCode that indicate specific failure conditions or business rule violations during user module operations. These codes help identify the failed operation of user-related and provide standardized failure identification across the system.
Possible values:
user-033, user-034, user-035, user-036, user-037, user-038, user-039, user-040, user-041, user-042, user-043, user-044, user-045, user-046, user-047, user-048, user-049