Users API

User Mail Account Details

The User Details APIs help you to get and update information about the users and their mail accounts in the organization.

Method Name URLOAuth ScopeMethod TypePurpose
Add User Account to an Org /api/organization/{zoid}/accountsZohoMail.organization.accountsPOSTAdd a user to the organization.  
Mail Account Details of All Users/api/organization/{zoid}/accountsGETGet the details of all the users' mail accounts in the organization. 
Single User Details/api/organization/{zoid}/accounts/{zuid}GETGet the details of a single user in the organization. 
/api/organization/{zoid}/accounts/{emailAddress}
Change the Role of a User/api/organization/{zoid}/accountsPUTChange the role of a user as administrator and vice versa.
Reset the Password of a User/api/organization/{zoid}/accounts/{zuid}PUTReset the password of a user in the organization.
Add an Email Alias to the User Account /api/organization/{zoid}/accounts/{zuid}PUTAdd an email alias to a user's mail account.
Remove Email Alias from the User Account /api/organization/{zoid}/accounts/{zuid}PUTRemove an email alias associated with the user account. 
Enable the User's Mail AccountAdmin Authentication: /api/organization/{zoid}/accounts/{accountId}ZohoMail.organization.accountsPUTEnable the email account of a particular user.
User Authentication: 
/api/accounts/{accountId}
ZohoMail.accounts
Disable the User's Mail AccountAdmin Authentication: /api/organization/{zoid}/accounts/{accountId}ZohoMail.organization.accountsPUTDisable the email account of a particular user and prevent login.
User Authentication: 
/api/accounts/{accountId}
ZohoMail.accounts
Enable User/api/organization/{zoid}/accounts/{accountId}ZohoMail.organization.accountsPUTThe API can be used by the admin to enable a user account.
Disable User/api/organization/{zoid}/accounts/{accountId}ZohoMail.organization.accountsPUTThe admin can use the API to disable a user account. Upon disabling, the user cannot user's sign in to their account. 
Delete User account/api/organization/{zoid}/accountsZohoMail.organization.accountsDELETEDelete a user's account.

User Account Access Mode API

The User Account Access Mode APIs help you to enable/ disable the external access modes for the account, like POP/ IMAP and Active Sync for the user. Further, you can enable/ disable Incoming/ Outgoing for the account using the APIs.

Method Name URLOAuth ScopeMethod TypePurpose
Change Incoming Status for a User/api/organization/{zoid}/accounts/{accountId}ZohoMail.organization.accountsPUTTo enable/ disable the Incoming status of the email account.
Change Outgoing Status for a User/api/organization/{zoid}/accounts/{accountId}ZohoMail.organization.accountsPUTTo enable/ disable the Outgoing status of the email account. 
To change IMAP Status/api/organization/{zoid}/accounts/{accountId}ZohoMail.organization.accountsPUTTo enable/ disable access via IMAP for the particular account.
To change POP Status /api/organization/{zoid}/accounts/{accountId}ZohoMail.organization.accountsPUTTo enable/ disable access via POP for the particular account.
To change Active Sync Status/api/organization/{zoid}/accounts/{accountId}ZohoMail.organization.accountsPUTTo enable/ disable access via Active Sync for the particular account.
To change TFA Preference/api/organization/{zoid}/accounts/{zuid}ZohoMail.organization.accountsPUTTo enable/ disable Two Factor Authentication Setting for the account.