Deletes configurations of a specified accelerated domain.

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 DeleteDcdnSpecificConfig

The operation that you want to perform. Set the value to DeleteDcdnSpecificConfig.

ConfigId String Yes 2117

The configuration ID. You can specify only one ID. You can call the DescribeDcdnDomainConfigs operation to query configuration IDs.

DomainName String Yes example.com

The name of the accelerated domain. You can specify only one domain name.

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 custom header of back-to-origin requests.

set_hashkey_args

Ignores URL parameters.

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 HTML optimization.

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.

forward_scheme

Configures the static origin protocol policy.

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=DeleteDcdnSpecificConfig
&DomainName=example.com
&ConfigId=2117
&<Common request parameters>

Sample success responses

XML format

<DeleteDcdnSpecificConfigResponse>
	  <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</DeleteDcdnSpecificConfigResponse>

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.