PUT ChangePassword
Request Information
URI Parameters
None.
Body Parameters
ChangePasswordDtoName | Description | Type | Additional information |
---|---|---|---|
OldPassword | string |
None. |
|
NewPassword | string |
None. |
|
ConfirmNewPassword | string |
None. |
|
ProfileId | string |
None. |
|
OverwriteByWorker |
Flag pointing that password is requested by other user in the system than the resource owner |
boolean |
None. |
SetCustomPassword |
When password change is requested not by the resource owner then that person have 2 options 1) true => sets the password by himself 2) false => send email to the user, for password reset |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "oldPassword": "sample string 1", "newPassword": "sample string 2", "confirmNewPassword": "sample string 3", "profileId": "sample string 4", "overwriteByWorker": true, "setCustomPassword": true }
multipart/form-data
Sample:
{"oldPassword":"sample string 1","newPassword":"sample string 2","confirmNewPassword":"sample string 3","profileId":"sample string 4","overwriteByWorker":true,"setCustomPassword":true}
application/xml, text/xml
Sample:
<ChangePasswordDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <OldPassword>sample string 1</OldPassword> <NewPassword>sample string 2</NewPassword> <ConfirmNewPassword>sample string 3</ConfirmNewPassword> <ProfileId>sample string 4</ProfileId> <OverwriteByWorker>true</OverwriteByWorker> <SetCustomPassword>true</SetCustomPassword> </ChangePasswordDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json, multipart/form-data
Sample:
true
application/xml, text/xml
Sample:
<boolean>true</boolean>