管理后台给用户分配角色
POST
/users/{id}/roles
请求参数
参数名
类型
描述
必填
Authorization
string
令牌
可选
roleIds
array[string]
roleIds
必填
userId
string
userId
必填