Skip to main content
DELETE
/
api
/
v1
/
repos
/
tags
Delete Tag
curl --request DELETE \
  --url https://api.{cluster}.code.storage/api/v1/repos/tags \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "v1.0.0"
}
'
{
  "message": "tag deleted",
  "name": "v1.0.0"
}

Documentation Index

Fetch the complete documentation index at: https://code.storage/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Delete a lightweight or annotated tag by name.

Tag deletion request identifying the tag to remove.

name
string
required

Tag name to delete. Must not start with refs/.

Example:

"v1.0.0"

Response

Tag deletion result.

Result of deleting a tag.

message
string
required

Human-readable result message.

Example:

"tag deleted"

name
string
required

Tag name.

Example:

"v1.0.0"