PUT api/user/password
Update current user's password.
Requires Authorisation
The api request must supply authenticated token in a custom variable in the request header. The custom variable name is configured in web.config. The default name of the custom variable is “X-Fern-Token”.
Requires Api License and User Access
The api requires license and user permission for API ID, PUTapi/user/password. The user permission can be defined on User Settings screen in Abacus. For license, please contact Fern manager.
Request Information
URI Parameters
None.
Body Parameters
Data to change the password.
ChangePasswordDto| Name | Description | Type | Additional information |
|---|---|---|---|
| CurrentPassword |
Current user password. |
string | Required. |
| NewPassword |
Current user new password. |
string | Required. |
| ConfirmNewPassword |
Current user new password confirmation. |
string | Required. |
Request Formats
application/json, text/json
Sample:
{
"currentPassword": "sample string 1",
"newPassword": "sample string 2",
"confirmNewPassword": "sample string 3"
}
application/xml, text/xml
Sample:
<ChangePasswordDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fern.Abacus.ObjectModel.Dto"> <ConfirmNewPassword>sample string 3</ConfirmNewPassword> <CurrentPassword>sample string 1</CurrentPassword> <NewPassword>sample string 2</NewPassword> </ChangePasswordDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response Codes
Success Status:
- NoContent (204), the response does not have any content.
Failed Status(es):
Resource Description
None.