查询项目成员

最近更新时间: 2026-09-17 00:00:36

1. 接口描述

接口请求域名: tpo.api3.fincloud.tencent.cn。

查询项目成员

默认接口请求频率限制:20次/秒。

接口更新时间:2022-11-18 17:30:37。

接口只验签名不鉴权。

2. 输入参数

以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见公共请求参数

参数名称 必选 允许NULL 类型 描述
Action String 公共参数,本接口取值:DescribeProjectMembers
Version String 公共参数,本接口取值:2020-09-20
Region String 公共参数,地域信息本接口不需要传递此参数。
ProjectId String 项目ID
示例值: pr-dcd34c11
PageNumber Uint64 页码
示例值: 100
PageSize Uint64 每页数量
示例值: 100
Filter ProjectMemberFilter 搜索条件
示例值:查看

3. 输出参数

参数名称 类型 描述
TotalCount Uint64 总数
示例值: 100
MemberSet Array of ProjectMember 成员列表
示例值:查看
RequestId String 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。

4. 错误码

以下仅列出了接口业务逻辑相关的错误码,其他错误码详见公共错误码

错误码 描述
InternalError.ThirdPartServiceBadRequest 服务调用失败
InternalError.ComponentFail 调用其它组件接口失败
InternalError.DatabaseError 内部数据库错误
ResourceNotFound.ProjectNotFoundError 项目不存在
UnauthorizedOperation.AuthFailedError 鉴权失败

5. 示例

示例1 DescribeProjectMembers

输入示例

POST / HTTP/1.1
Host: tpo.api3.fincloud.tencent.cn
Content-Type: application/json
X-TC-Action: DescribeProjectMembers
<Common Parameters>

{
    "ProjectId": "pr-92fbf08a",
    "PageNumber": 1,
    "PageSize": 10,
    "Filter": {
        "Keyword": ""
    }
}

输出示例

{
    "Response": {
        "TotalCount": 2,
        "MemberSet": [
            {
                "Uin": 100004603108,
                "Uid": 12345,
                "Name": "applicant",
                "Policies": [
                    {
                        "PolicyName": "ProjectAdmin",
                        "PolicyId": 12345678,
                        "Description": "admin"
                    }
                ]
            },
            {
                "Uin": 100004603109,
                "Uid": 12346,
                "Name": "admin",
                "Policies": [
                    {
                        "PolicyName": "ProjectReadyOnly",
                        "PolicyId": 12345679,
                        "Description": "readonly"
                    }
                ]
            }
        ],
        "RequestId": "ae2bd2b7-1d55-4b0a-8154-e02407a2b390"
    }
}