tencent cloud

DescribeAccessKeyRiskDetail
Last updated:2026-01-29 15:40:43
DescribeAccessKeyRiskDetail
Last updated: 2026-01-29 15:40:43

1. API Description

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

Access Key Risk Record Details.

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: DescribeAccessKeyRiskDetail.
Version Yes String Common Params. The value used for this API: 2022-11-21.
Region No String Common Params. This parameter is not required.
ID Yes Integer Risk record ID.
MemberId.N No Array of String Group Account Member ID

3. Output Parameters

Parameter Name Type Description
RiskInfo AccessKeyRisk Risk list.
CamCount Integer Total number of CAM policies.
AlarmCount Integer Number of associated alarms for the account.
AccessType Integer Access method 0 API 1 console and API.
AccessKeyAlarmCount Array of AccessKeyAlarmCount Access key Alarm count list.
ActionFlag Integer Whether operation protection is enabled. valid values: 0 (not enabled), 1 (enabled).
LoginFlag Integer Whether login protection is enabled. valid values: 0 (not enabled), 1 (enabled).
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 Query AccessKey Risk Details

Input Example

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

{
    "ID": 7
}

Output Example

{
    "Response": {
        "AlarmCount": 0,
        "CamCount": 3,
        "RequestId": "9e9119de-b50e-4011-830d-7d0e698e29b7",
        "RiskInfo": {
            "AccessKey": "AKID******",
            "AccessKeyID": 10066,
            "AccessKeyRemark": "",
            "AppID": 100001,
            "CheckStatus": 0,
"Description": "Operation permissions for Virtual Private Cloud (VPC) should converge and should not have the following sensitive API access permissions: CreateCcnRouteTables, CreateNatGatewayDestinationIpPortTranslationNatRule, CreateNatGatewaySourceIpTranslationNatRule, CreateSecurityGroup, CreateSecurityGroupWithPolicies, CreateVpcEndPoint, CreateVpcPeeringConnection"
            "Evidence": "vpc:*",
            "ID": 7,
            "Level": 4,
"Name": "Operation permissions for VPC should converge"
            "Nickname": "name",
            "RiskRuleID": 28,
            "RiskTime": "2025-03-13 14:00:43",
            "RiskType": 0,
            "Status": 0,
            "SubNickname": "name",
            "SubUin": "1000001",
            "Tag": [],
            "Type": 1,
            "Uin": "100001"
        }
    }
}

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.

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback