Deletes a rule that is used to dynamically add instances of a service that meet the rule to an application group.

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 DeleteMonitorGroupDynamicRule

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

Category String Yes ecs

The service to which the rule applies. Valid values: ecs, rds, and slb.

GroupId Long Yes 123456

The ID of the application group.

Response parameters

Parameter Type Example Description
Code Integer 200

The HTTP status code.

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

The returned message.

RequestId String 56B4516A-EB44-4C66-8854-0393B35F636B

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=DeleteMonitorGroupDynamicRule
&Category=ecs
&GroupId=123456
&<Common request parameters>

Sample success responses

XML format

<DeleteMonitorGroupDynamicRuleResponse>
      <RequestId>56B4516A-EB44-4C66-8854-0393B35F636B</RequestId>
      <Success>true</Success>
      <Code>200</Code>
</DeleteMonitorGroupDynamicRuleResponse>

JSON format

{
  "RequestId": "56B4516A-EB44-4C66-8854-0393B35F636B",
  "Success": true,
  "Code": 200
}

Error codes

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