Deletes a compression rule for a website.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:DeleteCompressionRule |
delete |
*Site
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
The site ID. You can call the ListSites operation to query the site ID. |
123456**** |
| ConfigId |
integer |
Yes |
The configuration ID. You can call the ListCompressionRules operation to query the configuration ID. |
35281609698**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
Request ID. |
F61CDR30-E83C-4FDA-BF73-9A94CDD44229 |
Examples
Success response
JSON format
{
"RequestId": "F61CDR30-E83C-4FDA-BF73-9A94CDD44229"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 400 | InvalidConfigId | The input configuration ID: ConfigId it does not exist, query the existing configuration and its valid ConfigId through the ListSiteFunction. | The ConfigId does not exist. |
| 404 | ConfigNotFound | The specified configid does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.