POST api/SocialDriver/ChangeForgottenPassword?revokeTokens={revokeTokens}

Change a forgotten password using a verification code

Request Information

URI Parameters

NameDescriptionTypeAdditional information
revokeTokens

Optional to revoke any of the user's existing tokens

boolean

Default value is False

Body Parameters

The ChangeForgottenPasswordRequest

ChangeForgottenPasswordRequest
NameDescriptionTypeAdditional information
AppId

The app id

string

None.

Username

The username

string

None.

Password

The desired new password

string

None.

ConfirmationCode

The password change confirmation code

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AppId": "sample string 1",
  "Username": "sample string 2",
  "Password": "sample string 3",
  "ConfirmationCode": "sample string 4"
}

application/xml, text/xml

Sample:
<ChangeForgottenPasswordRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <AppId>sample string 1</AppId>
  <Username>sample string 2</Username>
  <Password>sample string 3</Password>
  <ConfirmationCode>sample string 4</ConfirmationCode>
</ChangeForgottenPasswordRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

A HttpResponseMessage

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.