跳到主要内容

获取工作区子管理员配置

获取工作区子管理员配置情况


权限说明

仅「超管accessToken」拥有调用权限。(权限组accessToken无法调用)

请求

**请求方式:**GET

**请求地址:**https://api.qingflow.com/manager/sub(公有云版本)

钉钉版本:https://api.ding.qingflow.com/manager/sub

专有轻流:http(s)://xxx.xx(自有域名)/openApi/manager/sub

2.1 参数说明(路径参数):

2.2 参数说明(查询参数):

2.3 请求头(Header)

参数必须说明
accessToken调用接口凭证。获取方法请查看“文档”

2.4 请求体(Body)

2.5 请求体示例

返回

3.1 返回体

参数名类型必填说明
errCodestring错误码
errMsgstring错误描述
resultobject
subManagers[array]子管理员配置
subManagerIdstring子管理员id
submanagerNamestring子管理员名称
authMemberConfigobject子管理员权限配置
usersarray用户id集合
userIdnumber用户id
userNamestring用户名称
departsarray部门id集合
deptIdnumber部门id
deptNamestring部门名称
rolesarray角色id集合
roleIdnumber角色id
roleNamestring角色名称
beingSubDepartboolean是否包含子部门
appAuthConfigobject应用权限配置
beingAuthAppboolean应用权限配置
beingEditAppboolean应用权限是否开启
beingAddAppboolean应用编辑权限
beingDelAppboolean删除应用权限
beingDataManageboolean数据管理权限
beingEditTagboolean应用包编辑权限不能为空
authScopeobject应用/门户权限
appsarrayappKey 应用唯一标识
appKeystring应用key
appNamestring应用名称
dashsarray门户唯一标识
dashKeysstring门户唯一标识
dashNamestring门户名称
tagsarray应用包id
tagIdstring应用包id
tagNamestring应用包名称
authContactConfigobject通讯录权限配置
beingAuthContactboolean通讯录权限
qingStoreAuthConfigobject
beingUseSolutionboolean解决方案是否开启
beingUsePluginsboolean插件是否开启
beingUseConnectionboolean连接中心是否开启

3.2 返回体示例

{
"errCode": 0,
"errMsg": "",
"result": {
"subManagers": [{
"subManagerId": xxxxx,
"subManagerName": "xxxxx",
"authMemberConfig": {
"users": [{
"userId": "xxxxx",
"userName": "xxxxx"
}],
"departs": [{
"deptId": "xxxxx",
"deptName": "xxxxx"
}],
"roles": [{
"roleId": "xxxxx",
"roleName": "xxxxx"
}],
"beingSubDepart": true
},
"authAppConfig": {
"beingAuthApp": true,
"beingEditApp": true,
"beingAddApp": true,
"beingDelApp": true,
"beingDataManage": true,
"beingEditTag": true,
"authScope": {
"apps": [{
"appKey": "xxxxx",
"appName": "xxxxx"
}],
"dashs": [{
"dashKeys": "xxxxx",
"dashName": "xxxxx"
}],
"tags": [{
"tagId": "xxxxx",
"tagName": "xxxxx"
}]
}
},
"authContactConfig": {
"beingAuthContact": false
},
"qingStoreAuthConfig": {
"beingUseSolution": false,
"beingUsePlugins": false,
"beingUseConnection": false
}
}]
}
}