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": "0b4f5fdb-53ea-4f14-9c90-9b39284cbf26", "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>0b4f5fdb-53ea-4f14-9c90-9b39284cbf26</Key> <NewPassword>His_password</NewPassword> </ChangePasswordWithKeyPost>
Response Information
Resource Description
IHttpActionResultNone.