Delete image Tag
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
Authorizations:StringHeaderRequired
用户可通过已获取Open API Key做验证,例如:plain Credential=[YOUR_AK],Signature=[YOUR_SK]。
Query Parameters
aidcId:StringRequired
Intelligent Computing Center ID.
image:StringRequired
Image name.
tag:String
Image version (the entire image will be deleted if this value is not specified).
Response
状态码:application/json
200
code:Int
Code is a common return value format indicating the execution result of the operation.
0
-1
0 is the success identifier, indicating the operation completed successfully.
msg:String
Returns error information when the code value is -1.
cURL
Python
JavaScript
Go
Java
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"
}'
200
400
401
403
404
500
{
"code": 0
}