Cancels an image build.


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 CancelRepoBuildRecord

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

BuildRecordId String Yes 74FDBA62-30C0-4F22-BE7B-F1D36FD15B21

The ID of the image build record.

InstanceId String Yes cri-kmsiwlxxdcvaduwb

The ID of the instance.

RegionId String Yes cn-shanghai

The ID of the region where the instance resides.

RepoId String Yes crr-tquyps22md8purzx

The ID of the 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 4CE1F661-75DD-4EBD-A4AD-057B26834ABB

The ID of the request.


Sample requests

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

Sample success responses

JSON format

	"IsSuccess": true,
	"RequestId": "4CE1F661-75DD-4EBD-A4AD-057B26834ABB",
	"Code": "success"

XML format


Error codes

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