setPassword
- Home
- Accounts & Sessions
- Account
- setPassword
setPassword
Directly updates an account password.
Parameters
Name | Description |
user_id required | User |
new_password required | New Password |
Request Syntax
https://services.onesite.com/1/account/setPassword.json?new_password=vvgkn3t2&user_id=229928503&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 |
{ "code":100, "message":"Congratulations, user password has been successfully changed.", "content":{ "user_id":0 } } |
Service Information
Service | account |
Method | setPassword |
Type | REST |
Response Types | JSON, XML |