All Products
Search
Document Center

Delete an image version

Last Updated: May 28, 2018

Description

Delete an image version (tag). The images cannot be restored after deletion.

Request information

Request line

  1. DELETE /repos/{RepoNamespace}/{RepoName}/tags/{Tag} HTTP/1.1

Request line parameters (URI parameters)

Name 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.

Special request header

None.

Request body

None.

Request body explanation

None.

Response information

Response line

  1. HTTP/1.1 200 OK

Special response header

None.

Response body

  1. {
  2. "data":{},
  3. "requestId":"string"
  4. }

Example

Request example

  1. DELETE /repos/aliyun/tengine/tags/v1 HTTP/1.1
  2. <Common request header>

Response example

  1. HTTP/1.1 200 OK
  2. <Common response header>
  3. {
  4. "data": {},
  5. "requestId": "7BF6D761-E7F8-454C-A235-983E5D183B4E"
  6. }