tencent cloud

APIs

DescribeCustomGroups

Baixar
Modo Foco
Tamanho da Fonte
Última atualização: 2026-11-25 16:58:12

1. API Description

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

This API is used to query the list of custom groups under a specified site. This API returns only the first 500 entries of each custom group. To query all entries in a group, use the DescribeSecurityCustomGroup API.

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: DescribeCustomGroups.
Version Yes String Common Params. The value used for this API: 2022-09-01.
Region No String Common Params. This parameter is not required.
ZoneId Yes String

Site ID.

GroupTypes.N No Array of String

List of custom group types. If not specified, all types are queried.

Limit No Integer

Number limit of paginated query.

Valid range: [1, 100]

Default value: 10

Offset No Integer

Offset of paginated query.

Default value: 0

3. Output Parameters

Parameter Name Type Description
GroupTotalCount Integer

Total number of custom groups that meet the type list conditions.

CustomGroups Array of CustomGroup

List of custom groups that meet the type list conditions.

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 Querying All Custom Groups Under a Site

This example shows you how to query all custom groups under a specified site.

Input Example

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

{
    "ZoneId": "zone-3nw1o2owaf7p"
}

Output Example

{
    "Response": {
        "CustomGroups": [
            {
                "GroupId": "273746923",
                "GroupItemTotalCount": 2,
                "GroupItems": [
                    {
                        "Content": "080376eff4b9c0bb02f14d42705994be",
                        "ItemType": "JA3"
                    }
                ],
                "GroupName": "tls_group_1",
                "GroupType": "TLSFingerprint"
            }
        ],
        "GroupTotalCount": 1,
        "RequestId": "266b1419-4bd5-44d1-8be2-c31806539d6e"
    }
}

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

There is no error code related to the API business logic. For other error codes, please see Common Error Codes.

Ajuda e Suporte

Esta página foi útil?

comentários