POST Api/Manager/UpdateRoles/{UserId}

账户内容修改

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserId

用户Id

string

Required

Body Parameters

请求模型

SpeedPower.Utility.Models.Service.MIUsers.UpdateRoleBindingModel
NameDescriptionTypeAdditional information
RoleIds

权限组

Collection of string

Required

Request Formats

application/json, text/json

Sample:
{
  "RoleIds": [
    "sample string 1",
    "sample string 2"
  ]
}

Response Information

Resource Description

账户内容修改

SpeedPower.Utility.Models.Helper.ResultMessage
NameDescriptionTypeAdditional information
Succeed

操作是否成功

boolean

None.

Message

操作消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeed": true,
  "Message": "sample string 2"
}