Reset Password
Check your e-mail for further instructions.
Reset
Name
newsletter_unsubscribe
Auth
no
Description
Uses a code sent in a mail to the email, which the user had subscribed to the Newsletter. If the code is valid, then the user's email is unsubscribed.
Output
Always sends result=0, even if the user was never added to the Newsletter. This is for security reasons.
Required
| Parameter | Description |
| code | string code, sent in a mail to the user |
Example
{
result: 0
}
Errors
| Code | Description |
| 1000 | Log in required. |
| 1022 | Please provide 'code'. |
| 2000 | Log in failed. |
| 2012 | Invalid 'code' provided. |
| 5000 | Internal error. Try again later. |