Deletes an image version (tag). After an image version is deleted, it cannot be recovered.
Debugging
OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.
Request information
Request line
DELETE /repos/[RepoNamespace]/[RepoName]/tags/[Tag] HTTP/1.1
Request line parameters
Parameter | Type | Required | Description |
---|---|---|---|
RepoNamespace | String | Yes | The name of the namespace. |
RepoName | String | Yes | The name of the repository. |
Tag | String | Yes | The image version. |
Operation-specific request headers
None
Request body
None
Request body parameters
None
Response information
Response line
HTTP/1.1 200 OK
Operation-specific response headers
None
Response body
{
"data":{},
"requestId":"string"
}
Examples
Sample requests
DELETE /repos/[RepoNamespace]/[RepoName]/tags/[Tag] HTTP/1.1
<Common request headers>
Sample responses
HTTP/1.1 200 OK
<Common response headers>
{
"data": {},
"requestId": "7BF6D761-E7F8-454C-A235-983E5D183B4E"
}