POST api/Account/ChangePasswordForEmailKey

Verify whether there is a key and sets a new password. Basic Authentication is NOT needed.

Request Information

URI Parameters

None.

Body Parameters

ChangePasswordWithKeyPost
NameDescriptionTypeAdditional information
Key

Key was generated and sent to email

string

None.

NewPassword

New password satisfying Requestor password policy.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Key": "c430c758-7e8f-4764-95c9-f905697a8f01",
  "NewPassword": "His_password"
}

application/xml, text/xml

Sample:
<ChangePasswordWithKeyPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts">
  <Key>c430c758-7e8f-4764-95c9-f905697a8f01</Key>
  <NewPassword>His_password</NewPassword>
</ChangePasswordWithKeyPost>

Response Information

Resource Description

IHttpActionResult

None.