POST api/Security/ResetPassword
Reset te login password for the given user
Request Information
URI Parameters
None.
Body Parameters
Input to validate the user
ResetPasswordInput| Name | Description | Type | Additional information |
|---|---|---|---|
| LoginName |
Login Name of User |
string |
Required |
| SecurityQuestionId |
Id of the security question |
integer |
Required |
| SecurityResponse |
User response for the security questtion |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"LoginName": "sample string 1",
"SecurityQuestionId": 2,
"SecurityResponse": "sample string 3"
}
application/xml, text/xml
Sample:
<ResetPasswordInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.Base.WebAPI.Models"> <LoginName>sample string 1</LoginName> <SecurityQuestionId>2</SecurityQuestionId> <SecurityResponse>sample string 3</SecurityResponse> </ResetPasswordInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
New password
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>