tencent cloud

Control Center

Product Introduction
Overview
Strengths
Scenarios
Purchase Guide
Getting Started
Enabling Control Center
Configuring a Landing Zone
Operation Guide
Landing Zone
Control Center Overview
Baselines
Accounts
Login Permissions
Finance
Security Rules
Compliance Audit
Cloud Security Center
Use Cases
Centrally Managing Enterprise Accounts
Multi-Account Financial Management
Multi-Account Permissions Management
Multi-Account Log Collection and Auditing
API Documentation
History
Introduction
API Category
Making API Requests
Account Factory APIs
Data Types
Error Codes
Control Center Policy
Privacy Policy
Data Processing And Security Agreement
FAQs

UpdateAccountFactoryBaseline

PDF
Focus Mode
Font Size
Last updated: 2025-12-04 15:39:23

1. API Description

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

This API is used to update the current baseline item configuration of a user. The baseline configuration will be overwritten with the current configuration. When adding new baseline items, the newly-added baseline configuration needs to be added to the existing configuration. When deleting baseline items, the deleted baseline configuration needs to be removed from the existing configuration, then save the latest baseline configuration.

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: UpdateAccountFactoryBaseline.
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.
Name Yes String Specifies the baseline name, which must be unique and can only contain a combination of english letters, digits, chinese characters, and symbols @, &_[]-, with a length of 1-25 chinese or english characters.
BaselineConfigItems.N No Array of BaselineConfigItem Baseline configuration. overwrite update. can be accessed through controlcenter:GetAccountFactoryBaseline to query existing baseline configuration. can be accessed through controlcenter:ListAccountFactoryBaselineItems to query supported baseline list.

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 Example

This example shows you how to batch update or add user baseline configurations.

Input Example

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

{
    "Name": "default",
    "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": "748eabd0-5d58-40a6-85e3-26d74c3397d4"
    }
}

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.AccountFactoryDependOnItemNotConfig Dependencies of the baseline item in account factory are not configured.
FailedOperation.ControlCenterNotOpen Control Center service is not enabled.
FailedOperation.DBOperationError Database operation exception.
InvalidParameter.AccountFactoryTagExceedMaxNum The number of preset tags for baseline items exceeds the maximum allowed number.
InvalidParameter.ParamError Request parameter error.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback