Delete tag API Reference
DELETE
/tenants/{tenant}/registries/{name}/repositories/{repository}/tags/{tag}
const url = 'https://api.kupe.cloud/api/v1/tenants/acme/registries/registry/repositories/team-a%252Fapi/tags/v1.4.2';const options = {method: 'DELETE', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.kupe.cloud/api/v1/tenants/acme/registries/registry/repositories/team-a%252Fapi/tags/v1.4.2 \ --header 'Authorization: <Authorization>'Remove one tag from its image. The image and its other tags stay; an image left with no tag is listed
with tagged=false until it is deleted. Admin only.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” tenant
required
string
Tenant name
name
required
string
Registry name: always registry
repository
required
string
Repository name without the registry and tenant, with each / encoded as %2F
tag
required
string
Tag
Responses
Section titled “ Responses ”Tag deleted
Invalid name, repository or tag
object
code
string
error
string
field
string
message
string
severity
string
Missing or invalid authentication
object
code
string
error
string
field
string
message
string
severity
string
Admin access required
object
code
string
error
string
field
string
message
string
severity
string
object
code
string
error
string
field
string
message
string
severity
string
The tag is protected (code image_protected), the registry is not ready (code registry_not_ready) or is being deleted (code terminating)
object
code
string
error
string
field
string
message
string
severity
string
Rate limit exceeded
object
code
string
error
string
field
string
message
string
severity
string
The registry is busy or temporarily unavailable; retry
object
code
string
error
string
field
string
message
string
severity
string