Cancels a build record for an image repository.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cr:CancelBuildRepository |
delete |
*Repository
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
cri-kmsiwlxxdcva**** |
| RepoId |
string |
Yes |
The ID of the image repository. |
crr-tquyps22md8p**** |
| BuildRecordId |
string |
Yes |
The ID of the image build record. |
74FDBA62-30C0-4F22-BE7B-F1D36FD1**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The response code. |
success |
| IsSuccess |
boolean |
Indicates whether the request was successful. |
true |
| RequestId |
string |
The ID of the request. |
4CE1F661-75DD-4EBD-A4AD-057B26834ABB |
Examples
Success response
JSON format
{
"Code": "success",
"IsSuccess": true,
"RequestId": "4CE1F661-75DD-4EBD-A4AD-057B26834ABB"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | SystemError | Unknown error. | |
| 403 | NoPrivilege | Access denied for this user. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.