Skip to main content

DeleteImage

Description

The call DeleteImage deletes a mirror version (Tag) and cannot be restored after deletion.

Request Method

POST

Request Path

/apsara/route/cr/DeleteImage

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
RepoNamespaceBODYstringYesNo sample value for this parameter.namespace name
regionIdBODYstringYesNo sample value for this parameter.region id
RepoNameBODYstringYesNo sample value for this parameter.warehouse name
TagBODYstringYesNo sample value for this parameter.Mirror version
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}