文档
测试

获取用户角色

GET
/api/v1/organizations/{cid}/users/{id}/roles

接口描述

- 用户自己可以查看自己的角色,不需要鉴权 - 其他用户需要进行权限检查

请求参数

参数名
类型
描述
必填
cid
string
Organization ID
必填
id
string
用户id,必填项
必填

响应参数

参数名
类型
描述
必填
root
object
Succeed
必填