You can call this operation to delete a build rule of an image repository.


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 DeleteRepoBuildRule

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

BuildRuleId String Yes crbr-36tffn0kouvilaas

The ID of the build rule that you want to delete.

InstanceId String Yes cri-xkx6vujuhay0txas

The ID of the instance.

RegionId String Yes cn-shanghai

The region where the image repository is deployed.

RepoId String Yes crr-xwvi3osiy4ffoass

The ID of the image repository.

Response parameters


Sample requests

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

Sample success responses

XML format


JSON format


Error codes

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