PUT - Reset User Password
Purpose
The API is used to reset the password of a user in the organization.
Request URL
http://<hostname>/api/organization/<zoid>/accounts/<accountid>
Scope
organization.accounts
Request Parameters
Parameter | Data Type | Description |
zoid* | Integer | zoid - The unique Zoho Organization Identifier for the organization |
accountid* | Integer | Account Id of the user whose password should be reset using this API |
adminPassword* | String | Administrator Password |
* - Mandatory parameters
Request Body (JSON Object)
Parameter | Data Type | Allowed Values | Description |
mode* | String | resetPassword | To reset the Password of the specific user |
zuid* | Integer | zuid of the user whose role should be changed | Provide the ZUID of the user whose password should be reset |
password* | String | The new Password for the user | The new Password to be updated for the user, should be passed here. |
reset Authtoken | Boolean | True / False | Whether the older Authtokens should be reset, so that all the active sessions of the user will be logged out. |
* - Mandatory parameters
Response Codes
Please refer Response Codes.
Sample Request
Copied{
"zuid": 1502252,
"password": "Jan1$gra",
"adminPassword": "testtest",
"mode": "resetPassword"
}