Skip to main content
DELETE
Delete Tag

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"