Deletes configurations of one or more specified accelerated domains.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | BatchDeleteDcdnDomainConfigs |
The operation that you want to perform. Set the value to BatchDeleteDcdnDomainConfigs. |
DomainNames | String | Yes | example.com |
The name of the accelerated domain. You can separate multiple domain names with commas (,). |
FunctionNames | String | Yes | referer_white_list_set,https_force |
The names of the features. Separate multiple features with commas (,). |
The following table describes the features.
Feature |
Description |
---|---|
referer_white_list_set |
Specifies the referer whitelist. |
referer_black_list_set |
Specifies the referer blacklist. |
filetype_based_ttl_set |
Specifies an expiration rule for files. |
path_based_ttl_set |
Specifies an expiration rule for directories. |
cc_defense |
Configures protection against HTTP flood attacks. |
oss_auth |
Authenticates the access to Object Storage Service (OSS) buckets. |
ip_black_list_set |
Specifies the IP address blacklist. |
ip_white_list_set |
Specifies the IP address whitelist. |
error_page |
Redirects an error page to a specified page. |
tesla |
Configures page optimization to accelerate accesses. |
set_req_host_header |
Modifies the host header of back-to-origin requests. |
set_req_header |
Customizes an HTTP header of back-to-origin requests. |
set_hashkey_args |
Configures parameter filtering. |
aliauth |
Configures Alibaba authentication. |
set_resp_header |
Specifies a response header. To verify the setting, you can check the response messages on the client through the browser. |
video_seek |
Configures video seeking. |
range |
Configures object chunking. |
gzip |
Configures smart compression. |
https_force |
Redirects the original requests from a client to L1 as HTTPS requests. |
http_force |
Redirects the original requests from a client to L1 as HTTP requests. |
alilive |
Configures the ApsaraVideo Live service. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 04F0F334-1335-436C-A1D7-6C044FE73368 |
The ID of the request. |
Examples
Sample requests
http://dcdn.aliyuncs.com?Action=BatchDeleteDcdnDomainConfigs
&DomainNames=example.com
&FunctionNames=referer_white_list_set,https_force
&<Common request parameters>
Sample success responses
XML
format
<BatchDeleteDcdnDomainConfigsResponse>
<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</BatchDeleteDcdnDomainConfigsResponse>
JSON
format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | Invalid%s.ValueNotSupported | FunctionName [%s] is not supported. | The error message returned because the specified FunctionName parameter is not supported. |
For a list of error codes, visit the API Error Center.