You can call this operation to delete one or more alert rules.

Debugging

You can use API Explorer to perform debugging. API Explorer allows you to perform various operations to simplify API usage. For example, you can retrieve APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Parameter Type Required Example Description
Id.N RepeatList Yes ab05733c97b7ce239fb1b53393dc1697c7e12****

The ID of the alert rule.

Action String No DeleteMetricRules

The operation that you want to perform. Set the value to DeleteMetricRules.

Response parameters

Parameter Type Example Description
Code String 200

The status code. A value of 200 indicates that the call is successful.

Message String success

The error message.

RequestId String E5599964-8D0D-40DC-8E90-27A619384B81

The request ID for troubleshooting.

Success Boolean true

Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call has failed.

Examples

Sample requests


http(s)://[Endpoint]/? Action=DeleteMetricRules
&Id. 1=ab05733c97b7ce239fb1b53393dc1697c7e12****
&<Common request parameters>

Successful response examples

XML format

<DeleteMetricRulesResponse>
  <Code>200</Code>
  <Message>success</Message>
  <RequestId>FF38D33A-67C1-40EB-AB65-FAEE51EDB644</RequestId>
  <Success>true</Success> 
</DeleteMetricRulesResponse>

JSON format

{
	"Message":"success",
	"RequestId":"E5599964-8D0D-40DC-8E90-27A619384B81",
	"Success":true,
	"Code":"200"
}

Error code

View error codes