POST Api/Manager/ChangePassword/{UserId}
设置新密码
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
UserId |
用户Id |
string |
Required |
Body Parameters
请求模型
SpeedPower.Utility.Models.Service.MIUsers.SetPasswordBindingModelName | Description | Type | Additional information |
---|---|---|---|
NewPassword |
新密码 |
string |
Required Data type: Password String length: inclusive between 6 and 100 |
ConfirmPassword |
确认新密码 |
string |
Data type: Password |
Request Formats
application/json, text/json
Sample:
{ "NewPassword": "sample string 1", "ConfirmPassword": "sample string 2" }
Response Information
Resource Description
设置新密码
SpeedPower.Utility.Models.Helper.ResultMessageName | Description | Type | Additional information |
---|---|---|---|
Succeed |
操作是否成功 |
boolean |
None. |
Message |
操作消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Succeed": true, "Message": "sample string 2" }