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": "020d4f81-3d7e-4b1c-81f0-043725301ad3", "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>020d4f81-3d7e-4b1c-81f0-043725301ad3</Key> <NewPassword>His_password</NewPassword> </ChangePasswordWithKeyPost>
Response Information
Resource Description
IHttpActionResultNone.