Properties
NAME | TYPE | DESCRIPTION |
$id | string | User ID. |
$createdAt | integer | User creation date in Unix timestamp. |
$updatedAt | integer | User update date in Unix timestamp. |
name | string | User name. |
registration | integer | User registration date in Unix timestamp. |
status | boolean | User status. Pass `true` for enabled and `false` for disabled. |
passwordUpdate | integer | Unix timestamp of the most recent password update |
string | User email address. | |
phone | string | User phone number in E.164 format. |
emailVerification | boolean | Email verification status. |
phoneVerification | boolean | Phone verification status. |
prefs | object | User preferences as a key-value object Can be one of: |
Example
JSON
{
"$id": "5e5ea5c16897e",
"$createdAt": 1592981250,
"$updatedAt": 1592981250,
"name": "John Doe",
"registration": 1592981250,
"status": true,
"passwordUpdate": 1592981250,
"email": "john@appwrite.io",
"phone": "+4930901820",
"emailVerification": true,
"phoneVerification": true,
"prefs": {}
}
JSON
{
"_id": "5e5ea5c16897e",
"_createdAt": 1592981250,
"_updatedAt": 1592981250,
"name": "John Doe",
"registration": 1592981250,
"status": true,
"passwordUpdate": 1592981250,
"email": "john@appwrite.io",
"phone": "+4930901820",
"emailVerification": true,
"phoneVerification": true,
"prefs": {}
}