获取组织角色列表(内测中)
GET
/api/v1/organizations/{id}/roles
接口描述
在根云平台上 - 目标组织为普通组织,可查看该组织`organization`类型的所有角色 - 目标组织为运营商组织,不仅可以查询该组织下`organization`类型的所有角色,同时还可以查询到该组织下所有应用的`organization`类型的所有角色 在Saas应用下 - 目标组织为普通组织,可以查询到当前应用下属于该组织的`organization`角色 -
请求参数
参数名
类型
描述
必填
id
string
Organization ID
必填
origin
string
Types of roles for query can be owned (role owned by the organization), granted (role granted)and all (including both two). The default is all
可选
skip
string
Number of skipped results.This is an optional slot to fill in with default value of 0
可选
limit
string
Total number of returned results. This is an optional slot to fill in with default value of 50
可选
filter
string
Rich query conditions, optional
可选
sort
string
Sorting according to query conditions, optional. Sorting methods include ascending (asc) and descending (desc)
可选
resolve
string
需解析的引用字段,选填项,目前支持"permissions", "scope"
可选
响应参数
参数名
类型
描述
必填
root
object
Succeed
必填