POST api/Account/ResetPassword

Request Information

URI Parameters

None.

Body Parameters

ResetPasswordRequest
NameDescriptionTypeAdditional information
StateToken

string

Required

NewPassword

string

Required

Data type: Password

Matching regular expression pattern: ^((?=.*\d)(?=.*[A-Z])(?=.*[a-z])(?=.*["!#$%'()*+,-.\/\:;<=>?@\[\]^`_{|}~]).{8,50})$

Request Formats

application/json, text/json

Sample:
{
  "StateToken": "sample string 1",
  "NewPassword": "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 'ResetPasswordRequest'.

Response Information

Resource Description

ResetPasswordResponse
NameDescriptionTypeAdditional information
stateToken

string

None.

status

string

None.

sessionToken

string

None.

errorCode

integer

None.

errorSummary

string

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "stateToken": "sample string 1",
  "status": "sample string 2",
  "sessionToken": "sample string 3",
  "errorCode": 4,
  "errorSummary": "sample string 5",
  "ErrorMessage": "sample string 6"
}