Reset Password
Check your e-mail for further instructions.
Reset
Name
resetpassword
Auth
no
Description
Reset user's password
Expect as parameters code as sent in email in lostpassword
Resets user's password to newpassword.
The new password is subject to the same checks as in changepassword.
URL
https://api.pcloud.com/resetpassword
Required
Parameter | Description |
code | string code sent to the user in lostpassword |
newpassword | string the new password of the user |
Example
{ "result": 0 }
Code | Description |
1000 | Log in required. |
1022 | Please provide 'code'. |
1032 | Please provide 'newpassword'. |
2000 | Log in failed. |
2012 | Invalid 'code' provided. |
2032 | Password too short. Minimum length is 6 characters. |
2033 | Password can not start or end with space. |
2034 | Password does not contain enough different characters. The minimum is 4. |
2035 | Password can not contain only consecutive characters. |
2036 | Verification 'code' expired. Please request password reset again. |
4000 | Too many login tries from this IP address. |
5000 | Internal error. Try again later. |