Deletes an origin rule configuration for a specified site.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:DeleteOriginRule |
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 site IDs. |
3400350******** |
| ConfigId |
integer |
Yes |
The configuration ID. You can call the ListOriginRules operation to query configuration IDs. |
33793140540**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
Examples
Success response
JSON format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
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.