Skip to main content

Delete image Tag

更新时间:2025-05-07 16:32:25
Delete an image tag in the image repository. Only images in private repositories opened by the enterprise (starting with 'alayanew') can be deleted.
DELETE
https://api.alayanew.com/api/image/v1/tag
Authorizations
AuthorizationsStringHeaderRequired

用户可通过已获取Open API Key做验证,例如:plain Credential=[YOUR_AK],Signature=[YOUR_SK]。

Query Parameters
aidcIdStringRequired

Intelligent Computing Center ID.

imageStringRequired

Image name.

tagString

Image version (the entire image will be deleted if this value is not specified).

Response
状态码:application/json
codeInt

Code is a common return value format indicating the execution result of the operation.

0 is the success identifier, indicating the operation completed successfully.
msgString

Returns error information when the code value is -1.

curl -X DELETE 'https://api.alayanew.com/api/image/v1/tag'  
        -H 'Authorization: plain Credential=YOUR_AK,Signature=YOUR_SK'  
        -H 'Content-Type: application/json'  
        -d '{
        "aidcId": "1",
        "image": "registry.hd-01.alayanew.com/aladdin/python:3.13",
        "tag": "8.3.4"
}'
{
    "code": 0
}