更新时间:2024-10-18 GMT+08:00
分享

查询团队权限

功能介绍

根据团队ID和团队名称查询团队权限。

URI

GET /basic/mgmt/public/api/v1/sysmgr/teamrole/privilege

请求参数

表1 路径参数

参数

是否必选

参数类型

描述

teamId

String

团队ID

teamName

String

团队名称

请求示例

GET /basic/mgmt/public/api/v1/sysmgr/teamrole/privilege?teamId=681912555060338688&teamName=test0009

响应参数

状态码: 200

表2 响应Body参数

参数

参数类型

描述

code

String

返回码

message

String

返回码描述

totalCount

Long

返回数据总条数

响应示例

{
    "reserve": null,
    "datas": {
        "teamId": "681912555060338688",
        "teamName": "test0009",
        "teamRoles": [
            {
                "teamRoleId": "680418097236021248",
                "teamRoleName": "test007",
                "globalPrivileges": []
            },
            {
                "teamRoleId": "681912501788483584",
                "teamRoleName": "test0009",
                "globalPrivileges": [
                    "applyintegration",
                    "integrationmgmt",
                    "sysmgmt",
                    "upload"
                ]
            },
            {
                "teamRoleId": "662706165955694592",
                "teamRoleName": "test001",
                "globalPrivileges": [
                    "addmember",
                    "addPrivilege",
                    "adduser",
                    "addUsersRole",
                    "codegenerator",
                    "confirmAuthorization",
                    "confirmDelay",
                    "delayUserLicense",
                    "deleteMessageTemplate",
                    "deleteUserRole",
                    "delmember",
                    "delMessageForwardConfig",
                    "delPrivilege",
                    "deluser",
                    "lockuser",
                    "logmgmt",
                    "membermgmt",
                    "messagemgmt",
                    "modelmgmt",
                    "modifyMessageTemplate",
                    "modPrivilege",
                    "moduser",
                    "organizationmgmt",
                    "privilegeMgmt",
                    "processmgmt",
                    "qryAllUserEmail",
                    "qryApplyRecords",
                    "qryMessageForwardConfig",
                    "qryMessageTemplate",
                    "qryOperDetailLog",
                    "qryOperLog",
                    "qryUsersWithoutLicense",
                    "rejectApplication",
                    "removeloginlimit",
                    "resetpwd",
                    "rolemgmt",
                    "roleprivilegemgmt",
                    "saveMessageTemplate",
                    "setuserrole",
                    "sysmgmt",
                    "systemmgmt",
                    "teamandrolemgmt",
                    "template-export",
                    "transfer",
                    "transferUserRole",
                    "unlockuser",
                    "upsertMessageForwardConfig",
                    "userauth",
                    "user-import",
                    "usermgmt",
                    "viewapp",
                    "viewmember",
                    "viewRole",
                    "viewuser",
                    "viewUserRoleDetail",
                    "viewUserWithoutRole"
                ]
            }
        ]
    },
    "totalCount": null,
    "error_code": "IPDC.01020000",
    "error_msg": "success"
}

错误码

请参见错误码

相关文档