Deletes an event rule.


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 DeleteEventCenterRule

The operation that you want to perform. Set this parameter to DeleteEventCenterRule.

RegionId String No cn-shanghai

The region ID of the Container Registry instance.

InstanceId String No cri-xkx6vujuhay0****

The ID of the Container Registry instance.

RuleId String No crecr-n6pbhgjx*****

The ID of the event rule.

Response parameters

Parameter Type Example Description
RequestId String 031572FA-7D8F-4C05-B790-1071E0E05DE6

The ID of the request.

Code String success

The status code.


Sample requests

&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "RequestId" : "031572FA-7D8F-4C05-B790-1071E0E05DE6",
  "Code" : "success"

Error codes

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