GET api/Account/resetpw?email={email}
Get a new generated token for to be used for resetting the account password for the given email address.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Email Address associated with the user account. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
PasswordResetResponseName | Description | Type | Additional information |
---|---|---|---|
EmailAddress | string |
None. |
|
PasswordResetToken | string |
None. |
|
Success |
Boolean value indicating if request was fulfilled |
boolean |
None. |
ErrorMessage |
List of any errors or problems that prevented request from being fulfilled. |
Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "EmailAddress": "john.doe@email.com", "PasswordResetToken": "8a5f8b70-8f84-4c17-a237-0728aca37263", "Success": true, "ErrorMessage": [] }
application/xml, text/xml
Sample:
<PasswordResetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBR.FanClub.WebAPI.Models"> <ErrorMessage xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> <Success>true</Success> <EmailAddress>john.doe@email.com</EmailAddress> <PasswordResetToken>8a5f8b70-8f84-4c17-a237-0728aca37263</PasswordResetToken> </PasswordResetResponse>