Deletes a rule created by Deep Learning and Protection.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:DeleteHttpDDoSIntelligentRule |
delete |
*Site
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
The ID of the site. Call the ListSites operation to obtain the site ID. |
123456**** |
| RecordName |
string |
Yes |
The name of the record. |
www.example.com |
| RuleId |
integer |
Yes |
The ID of the rule. |
20928021 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
15C66C7B-671A-4297-9187-2C4477247A74 |
| SiteId |
integer |
The ID of the site. Call the ListSites operation to obtain the site ID. |
123456**** |
| RecordName |
string |
The name of the record. |
www.example.com |
| RuleId |
integer |
The ID of the rule. |
20757864 |
Examples
Success response
JSON format
{
"RequestId": "15C66C7B-671A-4297-9187-2C4477247A74",
"SiteId": 0,
"RecordName": "www.example.com",
"RuleId": 20757864
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter.SiteId | The specified SiteId is invalid. | The specified SiteId is invalid.Check parameter SiteId and try again. |
| 400 | ErrSiteIdNoteEnterprise | This feature is unavailable because your website is not associated with an Enterprise plan. Upgrade your plan to Enterprise. | This feature is unavailable because your website is not associated with an Enterprise plan. Upgrade your plan to Enterprise. |
| 400 | InvalidParameter.ApiShieldSellVerison | The site does not have permissions to manipulate the enterprise-level capabilities of API security features. | The site does not have permissions to manipulate the enterprise-level capabilities of API security features. |
| 400 | SiteVersion.NotExist | The specified version is invalid or version management is not enabled for your website.Make sure that you specify a valid version and version management is enabled. Then, try again. | The specified version is invalid or version management is not enabled for your website.Make sure that you specify a valid version and version management is enabled. Then, try again. |
| 500 | InternalError | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 403 | SiteIdDDoSVersionCheckFailed | SiteId DDoS version check failed. | Failed to check the DDoS version corresponding to the site. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.