Deletes an HTTP response header modification rule for a website.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:DeleteHttpResponseHeaderModificationRule |
delete |
*Site
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
The website ID. You can call the ListSites operation to obtain the ID. |
123456789**** |
| ConfigId |
integer |
Yes |
The configuration ID. You can call the ListHttpResponseHeaderModificationRules operation to obtain the ID. |
35281609698**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response parameters. |
||
| RequestId |
string |
The 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.