You can call this operation to delete configurations of one or more accelerated domains.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

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 accelerated domain names with commas (,).

FunctionNames String Yes referer_white_list_set,https_force

The names of the features. You can separate multiple features with commas (,).

Features

Features

Feature

Description

referer_white_list_set

Configures a referer whitelist.

referer_black_list_set

Specifies a referer blacklist.

filetype_based_ttl_set

Sets an expiration rule for files.

path_based_ttl_set

Specifies an expiration rule for directories.

cc_defense

Configures HTTP flood protection.

oss_auth

Configures the authentication of the access to an Object Storage Service (OSS) bucket.

ip_black_list_set

Specifies an IP blacklist.

ip_white_list_set

Configures an IP whitelist.

error_page

Configures the error page redirection to another specific page.

tesla

Configures the page optimization for access acceleration.

set_req_host_header

Modifies the origin host.

set_req_header

Customizes the HTTP header for origin requests.

set_hashkey_args

Configures the parameter filtering.

aliauth

Configures Alibaba Authentication.

set_resp_header

Sets a response header. To verify the setting, you can check the response messages on the client through the browser.

video_seek

Configures the video seeking feature.

range

Configures the object chunking feature.

gzip

Configures the intelligent compression with GNU zip (gzip).

https_force

Configures the forcible redirect of HTTP requests to HTTPS.

http_force

Configures the forcible redirect of HTTPS requests to HTTP.

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

HTTP status code Error code Error message Description
400 Invalid%s.ValueNotSupported FunctionName [%s] is not supported. The error message returned because the specified feature is not supported.

For a list of error codes, visit the API Error Center.