PUT api/v1/users/changepassword
Request Information
URI Parameters
None.
Body Parameters
PasswordChangeRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | globally unique identifier |
None. |
|
| OldPassword | string |
Required String length: inclusive between 0 and 255 |
|
| NewPassword | string |
Required String length: inclusive between 0 and 255 |
Request Formats
application/json, text/json
Sample:
{
"UserId": "a32423ed-7f48-44a7-8f32-a536e28356fa",
"OldPassword": "sample string 2",
"NewPassword": "sample string 3"
}
text/html
Sample:
{"UserId":"a32423ed-7f48-44a7-8f32-a536e28356fa","OldPassword":"sample string 2","NewPassword":"sample string 3"}
application/xml, text/xml
Sample:
<PasswordChangeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.User"> <NewPassword>sample string 3</NewPassword> <OldPassword>sample string 2</OldPassword> <UserId>a32423ed-7f48-44a7-8f32-a536e28356fa</UserId> </PasswordChangeRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.