Domain name for API request: config.intl.tencentcloudapi.com.
This API is used to create account groups.
A maximum of 20 requests can be initiated per second for this API.
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: CreateAggregator. |
| Version | Yes | String | Common Params. The value used for this API: 2022-08-02. |
| Region | No | String | Common Params. This parameter is not required. |
| Name | Yes | String | Account group name. |
| Description | Yes | String | Account group description. |
| Type | Yes | String | Account group type. Valid values:
|
| AggregatorAccounts.N | No | Array of AggregatorAccount | Account group member list, up to 100 entries. |
| Parameter Name | Type | Description |
|---|---|---|
| AccountGroupId | String | Account group ID. |
| 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. |
New account group
POST / HTTP/1.1
Host: config.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: CreateAggregator
<Common request parameters>
{
"Type": "RD",
"Name": "Account group 1",
"Description": "Account group description",
"AggregatorAccounts": [
{
"MemberUin": "110000000001",
"MemberName": "test124"
},
{
"MemberUin": "110000000002",
"MemberName": "test_ckafka"
}
]
}
{
"Response": {
"AccountGroupId": "ca-sdfs7734h24h3",
"RequestId": "da85d5e2-4432-4f02-9863-0ab07adeff33"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
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.SameMemberAccountGroupAlreadyExist | An account group with identical members already exists. |
| InternalError | Internal error. |
| InvalidParameter | Parameter error. |
| LimitExceeded.AccountGroupLimitOver | The number of user groups exceeds the upper limit. |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback