Deletes an image build rule for a repository.
Debugging
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 ID of the region where the instance resides. |
RepoId | String | Yes | crr-xwvi3osiy4ffoass |
The ID of the image repository. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
IsSuccess | Boolean | true |
Indicates whether the operation is successful. |
Code | String | success |
The code returned for the request. |
RequestId | String | 2E3F55BF-FA7B-454E-B2C6-85265E243ADC |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=DeleteRepoBuildRule
&BuildRuleId=crbr-36tffn0kouvilaas
&InstanceId=cri-xkx6vujuhay0txas
&RegionId=cn-shanghai
&RepoId=crr-xwvi3osiy4ffoass
&<Common request parameters>
Sample success responses
JSON
format
{
"IsSuccess":true,
"RequestId":"2E3F55BF-FA7B-454E-B2C6-85265E243ADC",
"Code":"success"
}
XML
format
<IsSuccess>true</IsSuccess>
<RequestId>2E3F55BF-FA7B-454E-B2C6-85265E243ADC</RequestId>
<Code>success</Code>
Error codes
For a list of error codes, visit the API Error Center.