PUT api/customer/user/me/password
Request Information
URI Parameters
None.
Body Parameters
PasswordChangeForm| Name | Description | Type | Additional information |
|---|---|---|---|
| oldPassword | string |
None. |
|
| newPassword | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"oldPassword": "sample string 1",
"newPassword": "sample string 2"
}
application/xml, text/xml
Sample:
<UsersController.PasswordChangeForm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saga.Kjorebok.Rest.Controllers"> <newPassword>sample string 2</newPassword> <oldPassword>sample string 1</oldPassword> </UsersController.PasswordChangeForm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>