POST api/Account/ChangePasswordByUsername
Allows the the user of the provided username to change their password.
Request Information
URI Parameters
None.
Body Parameters
The change password data.
ESignSystems.SmartSAFE.Models.Admin.UserManagement.ChangePasswordByUsernameModelName | Description | Type | Additional information |
---|---|---|---|
UserName |
Gets or sets the user's user name. |
string |
Required |
OldPassword |
Gets or sets the user's old password. |
string |
Required Data type: Password |
NewPassword |
Gets or sets the user's new password. |
string |
Required Data type: Password |
Request Formats
application/json, text/json
Sample:
{ "UserName": "sample string 1", "OldPassword": "sample string 2", "NewPassword": "sample string 3" }
application/xml, text/xml
Sample:
<ChangePasswordByUsernameModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESignSystems.SmartSAFE.Models.Admin.UserManagement"> <NewPassword>sample string 3</NewPassword> <OldPassword>sample string 2</OldPassword> <UserName>sample string 1</UserName> </ChangePasswordByUsernameModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.