Properties
NAME | TYPE | DESCRIPTION |
$id | string | User ID. |
$createdAt | string | User creation date in ISO 8601 format. |
$updatedAt | string | User update date in ISO 8601 format. |
name | string | User name. |
registration | string | User registration date in ISO 8601 format. |
status | boolean | User status. Pass `true` for enabled and `false` for disabled. |
passwordUpdate | string | Password update time in ISO 8601 format. |
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": "2020-10-15T06:38:00.000+00:00",
"$updatedAt": "2020-10-15T06:38:00.000+00:00",
"name": "John Doe",
"registration": "2020-10-15T06:38:00.000+00:00",
"status": true,
"passwordUpdate": "2020-10-15T06:38:00.000+00:00",
"email": "john@appwrite.io",
"phone": "+4930901820",
"emailVerification": true,
"phoneVerification": true,
"prefs": {}
}
JSON
{
"_id": "5e5ea5c16897e",
"_createdAt": "2020-10-15T06:38:00.000+00:00",
"_updatedAt": "2020-10-15T06:38:00.000+00:00",
"name": "John Doe",
"registration": "2020-10-15T06:38:00.000+00:00",
"status": true,
"passwordUpdate": "2020-10-15T06:38:00.000+00:00",
"email": "john@appwrite.io",
"phone": "+4930901820",
"emailVerification": true,
"phoneVerification": true,
"prefs": {}
}