POST api/v1/account/forgotpassword
Forgot Password 1. Generate reset password code (new guid without dashes) and reset valid until date - UTC (15 minutes from request time) 2. Send an email with a direct url to the reset password endpoint (email and reset password code) Beta 0.2 - emails full url - page exists
Request Information
URI Parameters
None.
Body Parameters
ForgotPasswordModel| Name | Description | Type | Additional information |
|---|---|---|---|
| string |
Required Data type: EmailAddress Max length: 255 |
Request Formats
application/json, text/json
Sample:
{
"email": "sample string 1"
}
text/html, text/plain
Sample:
{"email":"sample string 1"}
application/xml, text/xml
Sample:
<ForgotPasswordModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Last2Left.Services.Models"> <Email>sample string 1</Email> </ForgotPasswordModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, text/plain, application/xml, text/xml
Sample:
Sample not available.