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
ChangePasswordWithKeyPostName | Description | Type | Additional 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": "f37250ee-b832-40ca-a9d0-81ebd1f189fb", "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>f37250ee-b832-40ca-a9d0-81ebd1f189fb</Key> <NewPassword>His_password</NewPassword> </ChangePasswordWithKeyPost>
Response Information
Resource Description
IHttpActionResultNone.