PUT - Update Display Name for the User

Purpose

The API is used to Update the Display name of the user. This can be done by the Admin for a user or by the user for himself.

Request URL 

Using Admin Authentication:

http://<hostname>/api/organization/<zoid>/accounts/<accountid>

Using User Authentication:

https://<hostname>/api/accounts/<accountid>

Request Parameters

ParameterData TypeDescription
zuid* Integerzuid - The unique Zoho User Identifier for the organization 
DisplayName* StringDisplayName - The Name that has to be updated as the Display Name for the Email address provided. 

* - Mandatory parameters

Request Body (JSON Object)

ParameterData TypeAllowed ValuesDescription
mode* String 

updateDisplayName

 To add the Send Mail Details like Display Name for the account

* - Mandatory parameters

Response Codes

Please refer Response Codes.

Sample Request (Using Admin Authentication)


				{
   "zuid": "1111111",
   "mode": "updateDisplayName",
   "displayName": "Rebecca Anderson"
}			

Sample Request (Using User Authentication)


				{
   "mode": "updateDisplayName",
   "displayName": "Rebecca Anderson"
}