Cancels an artifact building task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cr:CancelArtifactBuildTask |
delete |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
cri-shac42yvqzvq**** |
| BuildTaskId |
string |
Yes |
The ID of the artifact building task. |
i2ei-12**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The return value. |
success |
| IsSuccess |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
| RequestId |
string |
The ID of the request. |
C4C7DD0C-C9D6-437A-A7EE-121EFD70D002 |
Examples
Success response
JSON format
{
"Code": "success",
"IsSuccess": true,
"RequestId": "C4C7DD0C-C9D6-437A-A7EE-121EFD70D002"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.