跳到主要内容

获取工作区子管理员配置

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


权限说明​

仅「超管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是应用/门户权限
appsarray是appKey 应用唯一标识
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
}
}]
}
}