Call the DeleteAlertRules API to delete alarm rules.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteAlertRules |
The parameter specified by the system. Valid values: |
AlertIds | String | Yes | [123, 234] |
The ID list of the alarm rules that you want to delete. JSON Array, for example : |
RegionId | String | Yes | cn-hangzhou |
The ID of the region. The default is |
ProxyUserId | String | No | 123412** |
The internal parameter. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
IsSuccess | Boolean | true |
Indicates whether the alert rule is deleted.
|
RequestId | String | C21AB7CF-B7AF-410F-BD61-82D1567F**** |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=DeleteAlertRules &AlertIds=[123, 234] &RegionId=cn-hangzhou &<common request parameters>
Sample success responses
XML
format
<DeleteAlertRulesResponse> <IsSuccess>true</IsSuccess> <RequestId>C21AB7CF-B7AF-410F-BD61-82D1567F****</RequestId> </DeleteAlertRulesResponse>
JSON
{ "IsSuccess": true, "RequestId": "C21AB7CF-B7AF-410F-BD61-82D1567F****" }