Edit Custom CC Policy

Last updated: 2020-06-09 15:19:21


    This is a legacy API which has been hidden and will no longer be updated. We recommend using the new Anti-DDoS Advanced API 3.0 which is standardized and faster.

    API Description

    This API (EditCustomCCStrategy) is used to edit a custom CC protection policy. The policy can be edited only when CC protection is enabled for the Anti-DDoS Advanced instance. The old policy can be identified by field bgpId and name, and overwritten with the new one.
    Protocol: HTTPS
    Domain Name: bgpip.api.qcloud.com

    Request Parameters

    Below is a list of API request parameters. You need to add common request parameters to your request when calling this API. For more information, see the Common Request Parameters. The Action field for this API is EditCustomCCStrategy.

    Parameter Required Type Description
    bgpId Yes String Resource ID of the Anti-DDoS Advanced instance
    name Yes String Policy name. Must be unique in the instance.
    smode Yes String Policy mode:
    matching: by matching
    speedlimit: by limiting the speed
    exemode Yes String Execution mode:
    alg: by verification codes
    drop: by blocking
    exeduration Yes Integer Execution duration. This parameter needs to be reserved and set to 0 as recommended, which means that the policy will be executed until the attacks are defeated
    frequency No Integer Number of queries per minute. When the policy mode is speedlimit, this parameter is required
    rulelist No Array When the smode is matching, this parameter is required.

    Key: host, cgi, ua, referer
    Operate: include, not_include, equal
    value: string (no more than 31 characters)

    Response Parameters


    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback