All Products
Search
Document Center

DeleteDcdnSpecificConfig

Last Updated: Mar 01, 2019

Description

You can call this operation to delete a specific configuration of a domain name.

Request parameters

Parameter Type Required Description
Action String Yes The operation that you want to perform. Set the value to DeleteDcdnSpecificConfig.
DomainName String Yes The DCDN domain name.
ConfigId String Yes The configuration ID.

FunctionNames

Name Description
referer_white_list_set Specifies and enables the referer whitelist.
referer_black_list_set Specifies and enables the referer blacklist.
filetype_based_ttl_set Specifies the expiration time of files.
path_based_ttl_set Specifies the expiration time of the path.
cc_defense Enables defense against CC attacks.
oss_auth Specifies the bucket that requires OSS authentication.
ip_black_list_set Specifies the IP blacklist.
ip_white_list_set Specifies the IP whitelist.
error_page Specifies the page that the error page is to be redirected.
tesla Enables page access acceleration.
set_req_host_header Modifies the custom header of the origin host.
set_hashkey_args Ignores URL parameters.
aliauth Enables Alibaba authentication and specifies authentication type.
set_resp_header Specifies the response header (visible to the browser).
video_seek Enables the seeking feature.
range Enables origin fetch based on HTTP range requests.
gzip Enables page optimization using GNU zip (gzip) compression.
https_force Enables forced redirect to HTTPS.
http_force Enables forced redirect to HTTP.
alilive Configures ApsaraVideo Live service.
forward_scheme Specifies the protocol of the origin.

Response parameters

Name Type Description
RequestID String The ID of the request.

Examples

Sample requests

  1. http://dcdn.aliyuncs.com/?Action=DeleteDcdnSpecificConfig
  2. &DomainName=www.macaron.org.cn,xxx.org.com
  3. &ConfigId=2317
  4. &<Common request parameters>

Sample responses

JSON format

  1. {
  2. "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
  3. }

Error codes

Error code Error message HTTP status code Description
MissingParameter The specified value of parameter DomainName can not be empty. 400 The error message returned when the DomainName parameter is not specified.
MissingParameter The specified value of parameter ConfigId can not be empty. 400 The error message returned when the ConfigId parameter is not specified.
Invalid%s.ValueNotSupported FunctionName [%s] is not supported. 400 The error message returned when the FunctionName value is invalid.