tencent cloud

控制中心

产品简介
产品概述
产品优势
应用场景
购买指南
快速入门
开启 Control Center
设置 Landing Zone
操作指南
Landing Zone
控制中心概览
基线管理
组织与账号
登录权限设置
企业财务
防护规则
合规审计
云安全中心
实践教程
企业账号统一规划
多账号财务管理
多账号身份权限管理
企业账号日志收集与审计
API 文档
History
Introduction
API Category
Making API Requests
Account Factory APIs
Data Types
Error Codes
Control Center 政策
隐私协议
数据处理和安全协议
常见问题

BatchApplyAccountBaselines

聚焦模式
字号
最后更新时间: 2025-12-04 15:39:28

1. API Description

Domain name for API request: controlcenter.intl.tencentcloudapi.com.

This API is used to apply baselines to existing accounts in batches.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: BatchApplyAccountBaselines.
Version Yes String Common Params. The value used for this API: 2023-01-10.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
MemberUinList.N Yes Array of Integer Member account UIN, which is also the UIN of the account to which the baseline is applied.
BaselineConfigItems.N Yes Array of BaselineConfigItem List of baseline item configuration information.

3. Output Parameters

Parameter Name Type Description
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Applying baselines to existing accounts in batches

This example shows you how to apply baselines to existing accounts in batches.

Input Example

POST / HTTP/1.1
Host: controlcenter.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: BatchApplyAccountBaselines
<Common request parameters>

{
    "MemberUinList": [
        111111111111
    ],
    "BaselineConfigItems": [
        {
            "Identifier": "ACS-BP_ACCOUNT_FACTORY_ACCOUNT_CONTACT",
            "Configuration": "{\"Contacts\":[{\"Name\":\"dest\",\"Email\":\"ia@22.com\",\"Mobile\":\"12345678910\",\"Position\":\"Technical Director\"}]}"
        }
    ]
}

Output Example

{
    "Response": {
        "RequestId": "e2f35fb3-3c8c-431e-b318-b4746cfe076c"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
FailedOperation.AFRequiredItemNotSelect Required baseline item in Account Factory is not configured.
FailedOperation.AccountFactoryContactEmailNotVerify Contact email is unverified.
FailedOperation.AccountFactoryContactPhoneNotVerify The contact person's mobile phone is unverified.
FailedOperation.AccountFactoryMemberUinNumExceed The number of accounts to which baselines are applied in Account Factory exceeds the limit.
FailedOperation.AccountFactoryTaskIsDeploying The user is deploying account baseline. It cannot be deployed repeatedly.
FailedOperation.ControlCenterNotOpen Control Center service is not enabled.
FailedOperation.DBOperationError Database operation exception.
FailedOperation.DependOnItemNotDeploy The feature item to depend on is not deployed.
FailedOperation.RemoteCallError Remote call failed.
ResourceNotFound.AccountFactoryBaselineNotExist User baseline configuration data does not exist.
ResourceNotFound.AccountFactoryItemNotConfig The baseline item deployed by the user is not configured.
ResourceNotFound.AccountFactoryItemNotExist Account Factory baseline does not exist.

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈