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.
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: |
| 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. |
Delete the acceleration domain name with the specified ID.
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"
}
{
"Response": {
"RequestId": "5e0a2b4e-df6d-4d2a-ac39-1706cbf8a707"
}
}
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 |
|---|---|
| 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. |
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários