用户赋角色
PATCH
/user/1.1/users/{id}/roles
接口描述
该操作会删除用户目前的所有角色,添加本次传递的角色
请求头
参数名
类型
描述
必填
token
字符串
用户登录后返回的token
必填