Deletes one or more alert rules.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteMetricRules

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

Id.N RepeatList Yes ab05733c97b7ce239fb1b53393dc1697c7e12****

The ID of the alert rule.

Response parameters

Parameter Type Example Description
Code String 200

The HTTP status code.

Note The status code 200 indicates that the call was successful.
Message String success

The returned message.

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

The ID of the request.

Success Boolean true

Indicates whether the call was successful. The value true indicates a success. The value false indicates a failure.

Examples

Sample requests

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

Sample success responses

XML format

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

JSON format

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

Error codes

For a list of error codes, visit the API Error Center.