Rolls back the configurations of a specified feature in the staging environment for an accelerated domain name. If this operation succeeds, the specified feature is rolled back to the configurations in the production environment.
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 in each call. |
FunctionName | String | Yes | aliauth |
The name of the feature. You can call the BatchSetCdnDomainConfig operation to query feature names. |
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
HttpCode | Error code | Error message | Description |
---|---|---|---|
404 | StagingConfig.NotFound | The Staging configuration does not exist. | The error message returned because no configurations are found in the staging environment. |
For a list of error codes, visit the API Error Center.