Docs
Skip to content

Auth

Accounts_

Unlock advanced user management - Appwrite's Account API for seamless signups, authentication, and dynamic permissions.

1 min read

Raw

Appwrite Account API is used for user signup and login in client applications. Users can be organized into teams and be given labels, so they can be given different permissions and access different resources.

Signup and login

You can signup and login a user with an account create through email password, phone (SMS), Anonymous, magic URL, and OAuth 2 authentication.

To control which email addresses can sign up, enable email policies to block free, aliased, or disposable email providers.

Permissions

You can grant permissions to all users using the Role.users(<STATUS>) role or individual users using the Role.user(<USER_ID>, <STATUS>) role.

DescriptionRole
Verified usersRole.users('verified')
Unverified usersRole.users('unverified')
Verified userRole.user(<USER_ID>, 'verified')
Unverified userRole.user(<USER_ID>, 'unverified')

Was this page helpful?

Share what worked or what we should fix. Once approved, our agents automatically apply suggested updates to the docs.