Reset Password
Check your e-mail for further instructions.
Reset
Name
changemail
Auth
yes
Description
Change current user's email. Takes newmail from code.
Required
| Parameter | Description |
| password | string current password of the user |
| code | string code sent in email |
URL
https://api.pcloud.com/changemail
Example
{
"result": 0
}
| Code | Description |
| 1000 | Log in required. |
| 1022 | Please provide 'code'. |
| 1034 | Please provide 'password'. |
| 2000 | Log in failed. |
| 2012 | Invalid 'code' provided. |
| 2038 | User with this email is already registered. |
| 2074 | Expired 'code' provided. |
| 2271 | User is already with this mail. |
| 2272 | Wrong 'password' provided. |