POST api/Account/ForgotPassword

Request Information

URI Parameters

None.

Body Parameters

ForgotPasswordModel
NameDescriptionTypeAdditional information
Email

string

Required

Matching regular expression pattern: [a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?

SiteCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "SiteCode": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ForgotPasswordModel'.

Response Information

Resource Description

ForgotPasswordResponse
NameDescriptionTypeAdditional information
EncryptedRecoveryToken

string

None.

Response Formats

application/json, text/json

Sample:
{
  "EncryptedRecoveryToken": "sample string 1"
}