You can call this operation to delete specific configurations of a CDN domain.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteSpecificConfig |
The operation that you want to perform. Set the value to DeleteSpecificConfig. |
DomainName | String | Yes | www.macaron.org.cn |
The name of the CDN domain of which the configurations are deleted. |
ConfigId | String | Yes | 2317 |
The ID of the configuration to be deleted. You can specify multiple configuration IDs and separate them with commas (,). To query the ID of a configuration, call the DescribeDomainConfigs operation. |
FunctionName | String | Yes | error_page |
The name of the feature to be deleted. |
Feature description
Feature name |
Description |
---|---|
referer_white_list_set |
Configures a referer whitelist. |
referer_black_list_set |
Configures a referer blacklist. |
filetype_based_ttl_set |
Sets a file expiration rule. |
path_based_ttl_set |
Sets a directory expiration rule. |
cc_defense |
Configures protection against HTTP flood attacks. |
oss_auth |
Authenticates the access to an OSS bucket. |
ip_black_list_set |
Configures an IP blacklist. |
ip_white_list_set |
Configures an IP whitelist. |
error_page |
Redirects an error page to another specified page. |
tesla |
Configures HTML optimization for access acceleration. |
set_req_host_header |
Modifies the custom origin host. |
set_hashkey_args |
Filters URL parameters. |
aliauth |
Configures URL authentication. |
set_resp_header |
Sets a response header. To verify the setting, you can check the response messages on the client (browser). |
video_seek |
Configures the video seeking feature. |
range |
Configures the object chunking feature. |
gzip |
Configures intelligent compression with GNU zip (gzip). |
https_force |
Configures force redirect to HTTPS. |
http_force |
Configures force redirect to HTTP. |
alilive |
Configures the ApsaraVideo Live service. |
forward_scheme |
Configures the static origin protocol policy. |
set_req_header |
Modifies a custom origin header. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 04F0F334-1335-436C-A1D7-6C044FE73368 |
The ID of the request. |
Examples
Sample requests
http(s)://cdn.aliyuncs.com? Action=DeleteSpecificConfig
&DomainName=www.macaron.org.cn
&ConfigId=2317
&FunctionName=error_page
&<Common request parameters>
Sample success responses
XML
format
<DeleteSpecificConfigResponse>
<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</DeleteSpecificConfigResponse>
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 FunctionName parameter is not supported. |
400 | MissingParameter | The specified value of parameter DomainName can not be empty. | The error message returned because the DomainName parameter is not specified. |
400 | MissingParameter | The specified value of parameter FunctionName can not be empty. | The error message returned because the FunctionName parameter is not specified. |
400 | MissingParameter | The specified value of parameter ConfigId can not be empty. | The error message returned because the ConfigId parameter is not specified. |
For more information about error codes, visit API Error Center.