import { Users } from "https://deno.land/x/appwrite@4.0.0/mod.ts";
Methods
Create User
Create a new user.
Delete User
Delete a user by its unique ID, thereby releasing it's ID. Since ID is released and can be reused, all user-related resources like documents or storage files should be deleted before user deletion. If you want to keep ID reserved, use the updateStatus endpoint instead.
Delete User Session
Delete a user sessions by its unique ID.
Delete User Sessions
Delete all user's sessions by using the user's unique ID.
Get User
Get a user by its unique ID.
Get User Logs
Get the user activity logs list by its unique ID.
Get User Memberships
Get the user membership list by its unique ID.
Get User Preferences
Get the user preferences by its unique ID.
Get User Sessions
Get the user sessions list by its unique ID.
List Users
Get a list of all the project's users. You can use the query params to filter your results.
Update Email
Update the user email by its unique ID.
Update Name
Update the user name by its unique ID.
Update Password
Update the user password by its unique ID.
Update User Preferences
Update the user preferences by its unique ID. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.
Update User Status
Update the user status by its unique ID. Use this endpoint as an alternative to deleting a user if you want to keep user's ID reserved.
Update Email Verification
Update the user email verification status by its unique ID.