POST api/Account/ChangePassword
Allows the current user to change their password.
Request Information
URI Parameters
None.
Body Parameters
The change password data.
ESignSystems.SmartSAFE.Models.Admin.UserManagement.ChangePasswordModelName | Description | Type | Additional information |
---|---|---|---|
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:
{ "OldPassword": "sample string 1", "NewPassword": "sample string 2" }
application/xml, text/xml
Sample:
<ChangePasswordModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESignSystems.SmartSAFE.Models.Admin.UserManagement"> <NewPassword>sample string 2</NewPassword> <OldPassword>sample string 1</OldPassword> </ChangePasswordModel>
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.