tencent cloud

Tencent Cloud EdgeOne

DeleteAccelerationDomains

ダウンロード
フォーカスモード
フォントサイズ
最終更新日: 2026-11-25 17:00:28

1. API Description

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

Delete acceleration domain names in batches.

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: DeleteAccelerationDomains.
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 Zone ID of the acceleration domain name.
DomainNames.N Yes Array of String List of acceleration domain name IDs that need to be deleted.
Force No Boolean Whether to force delete. When a domain name has associated resources (for example, alias domain names or traffic scheduling functions), whether to force delete that domain name. Valid values:
  • true: delete that domain name and all associated resources;
  • false: When the acceleration domain name has associated resources, deletion is not allowed.
  • If not specified, the default value is false.

    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 Delete Acceleration Domain Names in Batches

    Delete the acceleration domain name with the specified ID.

    Input Example

    POST / HTTP/1.1
    Host: teo.intl.tencentcloudapi.com
    Content-Type: application/json
    X-TC-Action: DeleteAccelerationDomains
    <Common request parameters>
    
    {
        "DomainNames": [
            "qq.com"
        ],
        "ZoneId": "zone-225qgrnvbi9w"
    }

    Output Example

    {
        "Response": {
            "RequestId": "5e0a2b4e-df6d-4d2a-ac39-1706cbf8a707"
        }
    }

    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
    InvalidParameter.ZoneIsGrayPublishing Site is upgrading. Changes are not currently supported. Try again later.
    InvalidParameter.ZoneNotFound The site does not exist.
    InvalidParameterValue.InvalidDomainStatus Accelerated domain name status does not meet requirements.
    InvalidParameterValue.RecordNeedDefaultLocation The same host record must contain at least one default parsing line. Ensure a default parsing line is enabled for the current host record and try again later.
    InvalidParameterValue.UnSupportDeleteWeightRecord When multiple resolution records with the same host record type exist, deletion of the only resolution record with a weight value of 0 is not allowed.
    OperationDenied Operation denied.
    OperationDenied.ResourceLockedTemporary Currently there are parallel request operations that repel each other. Please try again later.
    OperationDenied.UnSupportDeleteLocationRecord Deleting the current accelerated domain will also delete the corresponding CNAME record, which can cause the current host record to lack a default line. Go to modify the resolution route to ensure the current host record has at least one default line, then try again.
    OperationDenied.UnSupportDeleteWeightRecord Deleting the current accelerated domain will also delete its CNAME record. This can cause the remaining record weight sum of the current host to be 0. Go to modify the weight configuration and try again.
    OperationDenied.VersionControlIsGraying A test version is in use. Publish the test version to the production environment or roll back the test version and try again.
    ResourceInUse The resource is occupied.
    ResourceUnavailable.DomainNotFound The requested acceleration domain name does not exist. Correct it and try again.
    UnauthorizedOperation.CamUnauthorized Unauthorized Cam operation.

    ヘルプとサポート

    この記事はお役に立ちましたか?

    フィードバック