You can call this operation to delete resources associated with an alert rule.


Alibaba Cloud provides OpenAPI Explorer to simplify API usage. You can use OpenAPI Explorer to search for APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteMetricRuleResources

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

Resources String Yes [{"instanceId":"*****ixxxId1"}]

The resources to associate with the alert rule. Specify the value as a JSON array, such as

RuleId String Yes i-2ze3w55tr2rcpejpcfap_59******1

The ID of the alert rule.

Response parameters

Parameter Type Example Description
Code String 200

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

Message String success

The error message.

RequestId String D8A35882-90C6-4F03-BBEB-153C180398EA

The ID of the request, which can be used for troubleshooting.

Success Boolean true

Indicates whether the operation is successful.


Sample requests

http(s)://[Endpoint]/? Action=DeleteMetricRuleResources
&<Common request parameters>

Sample successful responses

XML format


JSON format


Error codes

View error codes