Delete a container image version from ACR
Operation description
You must delete the deployments that use the container image before you delete the image tag. After the tag is deleted, the corresponding deployments become unusable.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenestsupplier:DeleteAcrImageTags |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region. |
cn-hangzhou |
| RepoId |
string |
Yes |
The ID of the image repository. |
crr-3gqhkza0wbxxxxxx |
| Tag |
string |
Yes |
The tag of the container image. |
1.0 |
| ClientToken |
string |
No |
A client token that you can use to ensure the idempotence of the request. This token is generated by your client and must be unique for each request. ClientToken can contain only ASCII characters and must be no more than 64 characters long. |
788E7CP0EN9D51P |
| ArtifactType |
string |
No |
The type of the artifact. The default value is AcrImage. Valid values:
|
AcrImage |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C |
Examples
Success response
JSON format
{
"RequestId": "E73F09DC-6C13-5CB1-A10F-7A4E125ABD2C"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.