POST api/Password
Request Information
URI Parameters
None.
Body Parameters
PasswordChangeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| Agree | boolean |
None. |
|
| CurrentPassword | string |
None. |
|
| Password1 | string |
Required String length: inclusive between 8 and 16 |
|
| Password2 | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"Agree": true,
"CurrentPassword": "sample string 2",
"Password1": "sample string 3",
"Password2": null
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PasswordChangeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| Agree | boolean |
None. |
|
| CurrentPassword | string |
None. |
|
| Password1 | string |
Required String length: inclusive between 8 and 16 |
|
| Password2 | string |
Required |
Response Formats
application/json, text/json
Sample:
{
"UserId": 1,
"Agree": true,
"CurrentPassword": "sample string 2",
"Password1": "sample string 3",
"Password2": null
}