To send a password reset request, use the command core/reset_password_request:
svc=core/reset_password_request¶ms={"user":<text>, "url":<text>, "email":<text>}
Request execution is 1 time per 1 minute, in other case returns “error”:11 - reason: “REQUEST_TOO_OFTEN”
Name | Description |
---|---|
user | user name |
url | URL contained in the letter that will be sent to the user at password reset request: <url>?user=<login>&passcode=<passcode> (the value of passcode see in Password reset) |
user e-mail |
{ "error":0 /* successful request */ }
Other types of errors may occur. See the full list in the chapter Errors.
|