Rolls back the configurations of an accelerated domain name in the staging environment.
The maximum number of times that each user can call this operation per second is 30.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | RollbackStagingConfig |
The operation that you want to perform. Set the value to RollbackStagingConfig. |
DomainName | String | Yes | example.com |
The accelerated domain name. You can specify only one domain name. |
FunctionName | String | Yes | aliauth |
The name of the feature. |
The following table lists the descriptions of valid values of the FunctionName parameter.
Value |
Description |
---|---|
referer_white_list_set |
Configures a referer whitelist that provides hotlinking protection. |
referer_black_list_set |
Configures a referer blacklist that provides hotlinking protection. |
filetype_based_ttl_set |
Sets a file expiration rule. |
path_based_ttl_set |
Sets a directory expiration rule. |
oss_auth |
Specifies the bucket that requires OSS authentication. |
ip_black_list_set |
Configures an IP blacklist. |
ip_white_list_set |
Configures an IP whitelist. |
error_page |
Redirects an error page to a specified page. |
tesla |
Configures page optimization to accelerate access. |
set_req_host_header |
Modifies the custom header of back-to-origin requests. |
set_hashkey_args |
Retains URL parameters. |
aliauth |
Configures Alibaba authentication. |
set_resp_header |
Configures a response header. To verify the setting, you can check the response message in a browser. |
https_force |
Redirects visitors from HTTP URLs to HTTPS URLs. |
http_force |
Redirects visitors from HTTPS URLs to HTTP URLs. |
https_option |
Sets the basic HTTPS parameters. |
forward_scheme |
Configures the static origin protocol policy. |
green_manager |
Configures content moderation. |
dynamic |
Configures Dynamic Route for CDN (DCDN) settings. |
set_req_header |
Customizes the HTTP header for back-to-origin requests. |
l2_oss_key |
Retrieves content from private OSS buckets. |
range |
Configures object chunking. |
video_seek |
Configures video seeking. |
set_hashkey_args |
Ignores the specified URL parameters. |
https_tls_version |
Specifies the TLS protocol version. |
HSTS |
HSTS |
filetype_force_ttl_code |
Configures expiration rules for file status codes. |
path_force_ttl_code |
Configures expiration rules for directory status codes. |
gzip |
Optimizes pages using GNU zip (Gzip) compression. |
tesla |
Configures page optimization to accelerate accesse. |
https_origin_sni |
Configures an origin SNI. |
limit_rate |
Configures traffic throttling for individual requests. |
brotli |
Configures Brotli compression. |
ali_ua |
Configures access control based on the user-agent header. |
set_l2_req_header |
Customizes the header of requests sent to L2 nodes. |
host_redirect |
Configures URL rewrite. |
quic |
Configures Quick UDP Internet Connection (QUIC). |
forward_timeout |
Specifies the timeout period of back-to-origin requests. |
ali_video_split |
Configures audio extraction. |
ipv6 |
Configure IPv6 settings |
back_to_origin_argument_rewrite |
Rewrites parameters in back-to-origin requests. |
back_to_origin_url_rewrite |
Rewrites parameters in back-to-origin URLs. |
edge_function |
Configures EdgeScript functions. |
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=RollbackStagingConfig
&DomainName=example.com
&FunctionName=aliauth
&<Common request parameters>
Sample success responses
XML
format
<RollbackStagingConfigResponse>
<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</RollbackStagingConfigResponse>
JSON
format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
Error codes
For a list of error codes, visit the API Error Center.