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>}
Parameters
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 passcodesee in Password reset) |
user e-mail |
Response
{ "error":0 /* successful request */ }
Other types of errors may occur. See the full list in the chapter Errors.